Skip to content

Commit

Permalink
Merge de72b11 into 0e98c7a
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmugaya committed Jun 21, 2019
2 parents 0e98c7a + de72b11 commit d3cf758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authors/apps/authentication/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def encode_auth_token(email):
try:
payload = {
'exp': datetime.datetime.utcnow() + datetime.timedelta(
seconds=1800),
days=1),
'iat': datetime.datetime.utcnow(),
'sub': email
}
Expand Down

0 comments on commit d3cf758

Please sign in to comment.