Skip to content

Commit

Permalink
fix: rememberme expoires to NEVER
Browse files Browse the repository at this point in the history
Let's assume that the user's intention when checking
Remember Me in the login form is that they don't want
their login to expire, ever.

This changes the default for the remember me expire to
be NEVER.
  • Loading branch information
tkurki committed Feb 4, 2024
1 parent 4dd31cc commit d626c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokensecurity.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = function (app, config) {
const strategy = {}

let {
expiration = '3m',
expiration = 'NEVER',
users = [],
immutableConfig = false,
allowDeviceAccessRequests = true,
Expand Down

0 comments on commit d626c27

Please sign in to comment.