mirror of https://github.com/zulip/zulip.git
populate_db: Fix typo in password change handling.
(imported from commit 046a106e5778695223e634bf9aff15f4123ba3ce)
This commit is contained in:
parent
5195451519
commit
0cf2626f3d
|
@ -539,7 +539,7 @@ def restore_saved_messages():
|
||||||
elif message_type == "user_change_password":
|
elif message_type == "user_change_password":
|
||||||
# Just handle these the slow way
|
# Just handle these the slow way
|
||||||
user_profile = users[old_message["user"]]
|
user_profile = users[old_message["user"]]
|
||||||
do_change_password(user_profile, old_message["pshash"], log=False,
|
do_change_password(user_profile, old_message["pwhash"], log=False,
|
||||||
hashed_password=True)
|
hashed_password=True)
|
||||||
continue
|
continue
|
||||||
elif message_type == "user_change_full_name":
|
elif message_type == "user_change_full_name":
|
||||||
|
|
Loading…
Reference in New Issue