-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Make inactive Account logout #11828
Comments
Good Idea and very Important. |
IMO this is rather a feature than a bug. As long as there is an open browser window we try to keep the session alive (heartbeat requests) and additionally the login is active/valid for two weeks. Ref Lines 1378 to 1400 in 82a5833
Ref server/lib/private/User/Session.php Line 879 in 82a5833
^ you might want to have a look at the |
@ChristophWurst , can you guys add an option in the admin panel that we can set our own time. 'you just have to forget logout manually on a public pc, and you have a big problem....' |
FYI you can always kill other sessions via your personal security settings. It lists all active sessions. Just pick the one where you forgot to log out and end it. Problem solved 😉 |
IMO this is a rather specific configuration option. If we added a user interface for all these options (there are lots of these), the UI would get unmaintainable. Could you please just fix this in your |
Don't get me wrong, but that workflow is not professional. None of the other Cloud services has 2weeks login activity by default. The best and secure way is for example: by default 15 min inactive = auto logout. If user want a longer time let them change it in config file. |
@kojomba which services are you referring to? Both my test dropbox and test google drive account which I have not used in weeks are still logged in |
@rullzer well... i just logged in to my dropbox did a quick windows logout and login and guess what happend.... it did log me out of the website.... that's how it has to be done. |
any update on this? the very best end-to-end encryption is not helpful, as long as there is no auto logout after x minutes configure able. :-/ |
untill it's integrated in the admin panel you have to insert in the /config/config.php https://help.nextcloud.com/t/log-out-on-idle-time/6734/2 /**
and add these lines to stop heartbeat: 'session_lifetime' => 60 * 15, |
Dear all, |
I just setup my first nextcloud server and also had the desire to auto log-off after inactivity of a few minutes. |
Greetings - just wanted to chime in on this. Maybe Nextcloud isn't concerned over more professional use cases, but auto-logout is critical to business use cases. Literally some environments require this feature to be compliant with cybersecurity policy as established by NIST and, going forward, the CMMC. I have to disagree that this is feature creep (my words, referring to an earlier comment) - this is actually sound and, frankly, sane policy in a cloud environment. The only area where this wouldn't be as much of an issue is on personal local area networks, where your personal documents are hosted on your terms and if someone hacks in you aren't endangering others by hosting data relevant to their businesses, or your employers for that matter. Granted, the work-around cited should be sufficient, but generally speaking I believe this is something you should consider adding to the administrator settings. Thanks for listening :) |
We introduced a Does that help with this use case? |
Hi kesselb and community, just checked the feature on my nextcloud instance. I added following settings into config/config.php: I observed following behaviour:
I conclude this feature works as intended. THANK YOU :-) |
So i did set up NextcloudPI on my Raspberry Pi 3b+, everything seems working fine. Only the issue that i have is that my account doesn't logout even if i'm inactive (talking about the webui)... so i did turn on my laptop (The next day) and did go to the webinterface and i was still logged in....
Can you guys fix this, or add an option that it will logout after X minute inactive.
Because this is not secure..
Thank you
The text was updated successfully, but these errors were encountered: