Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion users/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class EmailActivationTokenGenerator(object):
@staticmethod
def get_last_login_timestamp(user):
if user.last_login is not None:
return int(user.last_login.strftime('%s'))
return int(user.last_login.strftime('%S'))
return 0

def make_token(self, user):
Expand Down