From 6c290e5b8da290a1e3dd22308c743ef7ec83e39b Mon Sep 17 00:00:00 2001 From: Esteban Date: Thu, 22 Feb 2024 11:35:56 -0500 Subject: [PATCH] Increment the JWT Token expiration time to 2 weeks --- config/initializers/devise.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 36c46f9..0bef284 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -319,6 +319,6 @@ jwt.revocation_requests = [ ['DELETE', %r{^/logout$}] ] - jwt.expiration_time = 30.minutes.to_i + jwt.expiration_time = 2.weeks.to_i end end