mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-19 21:03:23 +12:00
fix(Jwt): Ignore pre-release versions verifying token versions.
This commit is contained in:
parent
f0075e2cd3
commit
ea3ff3b00e
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ defmodule AshAuthentication.Jwt.Config do
|
||||||
vsn
|
vsn
|
||||||
|> to_string()
|
|> to_string()
|
||||||
|> Version.parse!()
|
|> Version.parse!()
|
||||||
|
|> then(&%{&1 | pre: []})
|
||||||
|
|
||||||
Config.default_claims(default_exp: token_lifetime)
|
Config.default_claims(default_exp: token_lifetime)
|
||||||
|> Config.add_claim(
|
|> Config.add_claim(
|
||||||
|
|
Loading…
Reference in a new issue