New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeepUserLoggedIn seems to be ignored #14182
Comments
Hi there @Behodar! Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better. We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
I'll be working on this :-) |
We tried to reproduce this at the Codegarden hackathon, but it just worked. For now I'll close this issue but if we have more steps to reproduce we can have another look at it! |
I can confirm that this is still an issue in 10.5.1. There was also a comment on this issue from @Zeegaan which seems to have vanished: "I can certainly reproduce this! Interestingly enough, it does seem that the setting reflects back to the front-end" with a screenshot of some JSON with "keepUserLoggedIn": true. |
Yea I thought I had reproduced it, but sadly not 😞 |
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
10.4.1
Bug summary
appsettings.json has a setting called Umbraco.CMS.Security.KeepUserLoggedIn, which looks like it stops users from being automatically logged out of the back office. It seems that this doesn't work in Umbraco 9/10/11.
There is some discussion of this issue at https://our.umbraco.com/forum/using-umbraco-and-getting-started/108929-keepuserloggedin-v9. The setting worked correctly in Umbraco 7 and 8 (although it was in umbracoSettings.config in those versions).
Specifics
No response
Steps to reproduce
An easy way of testing this is to log in, then close the browser. Come back later in the day and go to the back office, and it'll ask you to log in again.
Expected result / actual result
I expected to remain logged in.
The documentation doesn't explicitly state what setting the value to true actually does (it only defines what setting it to false does), but it's fair to assume that it would work the same way as it did in Umbraco 7 and 8, i.e. keep the user logged in.
The text was updated successfully, but these errors were encountered: