Pēteris Caune 1ca4caa3a8
Update the set_password view to use update_session_auth_hash
Changing user's password logs themselves out. To avoid that,
we were logging the user back in right after changing the password.

I recently discovered update_session_auth_hash, which seems to
be the proper way to do this.

Docs: https://docs.djangoproject.com/en/3.1/topics/auth/default/#session-invalidation-on-password-change
2020-11-16 14:29:52 +02:00
..
2020-11-16 14:16:06 +02:00
2015-06-11 22:12:09 +03:00
2020-11-16 14:16:06 +02:00
2020-11-16 14:16:06 +02:00