Skip to content

Commit

Permalink
Increment the JWT Token expiration time to 2 weeks
Browse files Browse the repository at this point in the history
  • Loading branch information
Estete9 committed Feb 22, 2024
1 parent 1bf57f7 commit 6c290e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6c290e5

Please sign in to comment.