docs(config): clarify remember_login_cookie_lifetime behavior and scope#58792
docs(config): clarify remember_login_cookie_lifetime behavior and scope#58792joshtrichards wants to merge 2 commits intomasterfrom
remember_login_cookie_lifetime behavior and scope#58792Conversation
…cope Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
| * expiration of remembered login tokens. Therefore, changing or clearing cookies | ||
| * alone may not fully reset remembered login state. |
There was a problem hiding this comment.
Clearing the cookie in the browser? How could that not log you out?
I feel like you dived into the rememberme effects and know more than me, but what I’m reading in these two PR is confusing 🙈
There was a problem hiding this comment.
I went back and forth on how to document this. I wanted to leave out server-side implementation details since the audience is meant to be more admin-oriented, but I also wanted to keep it honest just in case there were some weird side effects that might impact admin-level troubleshooting. Clearing the cookies from the browser will effectively result in clearing things, but - technically - the server-side storage of the remember-me session token will still stick around until the server-side piece happens:
server/lib/private/Authentication/Token/PublicKeyTokenProvider.php
Lines 266 to 282 in 92cf64f
It's probably such a subtle bit we could leave it out and assume there won't be any troubleshooting side effects for admins. I can't really think of any, unless - well, they clear their cookies then attempt to put them back in their browser or something and then wonder why they still work... ;-) Edit: And anyone that pokes around the database.
Resolves: #Summary
🧹 of the
remember_login_cookie_lifetimeconfig entry description.Related PR: #58794
TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)