Skip to content

Commit

Permalink
Merge branch 'master' into abdm-m2
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar authored Jun 13, 2023
2 parents bfbc965 + ee6c604 commit 057ed5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/auth_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ def validate(self, attrs):
data["refresh"] = str(refresh)

# Updating users active status
User.objects.filter(id=refresh["user_id"]).update(last_login=localtime(now()))
User.objects.filter(external_id=refresh["user_id"]).update(
last_login=localtime(now())
)

return data

Expand Down

0 comments on commit 057ed5e

Please sign in to comment.