From 444ccfd92099aa95868dd5a3ebc73bc595652e96 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Mon, 4 Oct 2021 20:30:07 +0530 Subject: [PATCH] Change to 5.years --- app/models/concerns/sso_authenticatable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/sso_authenticatable.rb b/app/models/concerns/sso_authenticatable.rb index aca28b663..eea1c3ee8 100644 --- a/app/models/concerns/sso_authenticatable.rb +++ b/app/models/concerns/sso_authenticatable.rb @@ -3,7 +3,7 @@ module SsoAuthenticatable def generate_sso_auth_token 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 end