Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Jun 28, 2024
1 parent 3a5b528 commit 8f693e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam/api/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_login_user(request, has_expiry_timestamp = True):
hmac_token = HMACToken(key)
user = User.objects.get(username=hmac_token.get_userid())

if (hmac_token.self.expiry_timestamp != False) != has_expiry_timestamp:
if (hmac_token.expiry_timestamp != False) != has_expiry_timestamp:
return None, dict(error_codename="invalid_token_type"), hmac_token

# admin auth event has a different timeout
Expand Down

0 comments on commit 8f693e3

Please sign in to comment.