Skip to content

Commit

Permalink
Merge pull request #15 from dwyl/default-exp-13
Browse files Browse the repository at this point in the history
Default expiration time
  • Loading branch information
nelsonic authored Mar 25, 2020
2 parents b563e00 + ef61fb0 commit 33af8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth_mvp/token.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule AuthMvp.Token do

@impl true
def token_config do
default_claims(exp: 31_537_000 ) # ~ 1 year in seconds
default_claims(default_exp: 31_537_000 ) # ~ 1 year in seconds
end

end

0 comments on commit 33af8ec

Please sign in to comment.