Skip to content

Commit 48eb40a

Browse files
author
Bhaarat Sharma
committed
adding not
1 parent 296a49a commit 48eb40a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_auth/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,5 +216,5 @@ def validate(self, attrs):
216216

217217
def save(self):
218218
self.set_password_form.save()
219-
if self.logout_on_password_change:
219+
if not self.logout_on_password_change:
220220
update_session_auth_hash(self.request, self.user)

0 commit comments

Comments
 (0)