mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
[manual] Authenticate using a user_profile as request.user.
When this is deployed to staging, we need to run ./manage.py logout_all_users --realm=humbughq.com When this is deployed to prod, we need to run ./manage.py logout_all_users (imported from commit d6c6ea4b1c347f3d9122742db23c7b67767a7349)
This commit is contained in:
@@ -52,6 +52,6 @@ class HomepageForm(forms.Form):
|
||||
|
||||
class LoggingSetPasswordForm(SetPasswordForm):
|
||||
def save(self, commit=True):
|
||||
do_change_password(self.user.userprofile, self.cleaned_data['new_password1'],
|
||||
do_change_password(self.user, self.cleaned_data['new_password1'],
|
||||
log=True, commit=commit)
|
||||
return self.user
|
||||
|
||||
Reference in New Issue
Block a user