Change to 5.years
This commit is contained in:
parent
f41b30b485
commit
444ccfd920
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ module SsoAuthenticatable
|
||||||
|
|
||||||
def generate_sso_auth_token
|
def generate_sso_auth_token
|
||||||
token = SecureRandom.hex(32)
|
token = SecureRandom.hex(32)
|
||||||
::Redis::Alfred.setex(sso_token_key(token), true, 5.minutes)
|
::Redis::Alfred.setex(sso_token_key(token), true, 5.years)
|
||||||
token
|
token
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue