Add a 'remember me' option to login #16

Closed
opened 2026-02-04 16:16:32 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @ssddanbrown on GitHub (Sep 25, 2015).

Originally created by @ssddanbrown on GitHub (Sep 25, 2015).
OVERLORD added the 🛠️ Enhancement label 2026-02-04 16:16:32 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Oct 22, 2015):

Added in bd73c88edd

@ssddanbrown commented on GitHub (Oct 22, 2015): Added in bd73c88eddb946d9318f2a5f45b5a701771328d8
Author
Owner

@Zyzto commented on GitHub (Dec 31, 2020):

this seems to be missing in current releases

@Zyzto commented on GitHub (Dec 31, 2020): this seems to be missing in current releases
Author
Owner

@c0nfus3d commented on GitHub (Jan 6, 2021):

Was this never merged with the master?

@c0nfus3d commented on GitHub (Jan 6, 2021): Was this never merged with the master?
Author
Owner

@ssddanbrown commented on GitHub (Jan 7, 2021):

This option still exists, It's not however part of LDAP or SAML login.

@ssddanbrown commented on GitHub (Jan 7, 2021): This option still exists, It's not however part of LDAP or SAML login.
Author
Owner

@Zyzto commented on GitHub (Jan 7, 2021):

@ssddanbrown I see is it possible in the future to be added ?

as well is there way to increase token/cookies TTL? currently

@Zyzto commented on GitHub (Jan 7, 2021): @ssddanbrown I see is it possible in the future to be added ? as well is there way to increase token/cookies TTL? currently
Author
Owner

@ssddanbrown commented on GitHub (Jan 9, 2021):

@Zyzto A "remember me" option gets more complicated for external auth as it'd have to be optional to adhere to the wishes of those auth systems and I'm not a fan of options for options. Think it has been requested elsewhere though.

You should be able to control the session lifetime via the SESSION_LIFETIME env option as shown here:

https://github.com/BookStackApp/BookStack/blob/master/.env.example.complete#L74

@ssddanbrown commented on GitHub (Jan 9, 2021): @Zyzto A "remember me" option gets more complicated for external auth as it'd have to be optional to adhere to the wishes of those auth systems and I'm not a fan of options for options. Think it has been requested elsewhere though. You should be able to control the session lifetime via the `SESSION_LIFETIME` env option as shown here: https://github.com/BookStackApp/BookStack/blob/master/.env.example.complete#L74
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#16