Skip to content

Commit

Permalink
fix: shared key is_valid()
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Mar 9, 2024
1 parent 7b99b81 commit c6d6aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/classes/base/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def is_valid(self):
if self.expiry is not None and self.expiry < datetime.utcnow():
return False, "This shared key has expired", "SharedKeyExpired"
else:
return True, None
return True, None, None

def is_job_within_limits(
self,
Expand Down

0 comments on commit c6d6aa4

Please sign in to comment.