Set current user as update object, require login
* Instead of setting the `model` property on the UpdateView class, adds a get_object method which returns the current user. This prevents any user from editing another user's data. * Adds the LoginRequiredMixin to the ProfileConfigureView to limit access to authenticated users.
Showing with 5 additions and 4 deletions