Change to 5.years

This commit is contained in:
Pranav Raj S 2021-10-04 20:30:07 +05:30
parent f41b30b485
commit 444ccfd920

View file

@ -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