You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that PasswordChangeSerializer has logic that does not update the session_auth_hash if LOGOUT_ON_PASSWORD_CHANGE setting is False, thereby logging out the user after changing password. But it does not do the same for token authentication by deleting the auth token. I had to override the serializer to fix this. If the current behaviour is not by design, below is my fix:
I found that PasswordChangeSerializer has logic that does not update the session_auth_hash if LOGOUT_ON_PASSWORD_CHANGE setting is False, thereby logging out the user after changing password. But it does not do the same for token authentication by deleting the auth token. I had to override the serializer to fix this. If the current behaviour is not by design, below is my fix:
The text was updated successfully, but these errors were encountered: