You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are offering for a lot of events off and on switches in the config.php even for session_keepalive. For the Remember Login there is just the possibility to change the remember_login_cookie_lifetime.
It would be great to switch off and hide the Remember Login via config.php as well, since the App that exists for this seems to be discontinued and ever since experimental.
The Disable Remember Login App appears to be not working with NC 12.0.0. I would also prefer what has been proposed here: add a configuration option to disable the check box on the login screen.
This might be a security sensitive issue if users are authenticated against an external identity provider. So this feature is not only a nice-to-have but rather a must-have.
Yeah, since this commit removed the ability to disable the "Stay logged in" checkbox via the rememberlogin flag in the info.xml of an app, it looks like CSS / PHP hacking are the only option to disable it, that's really sad 😢
I don't really see the background of this one here. What use case should be solved by this? If the user clicks actively on a "remember me" checkbox maybe the intention of this user is to keep logged in. All that is solved by this is that an admin makes the live of a user more hard and pulls rights from the users. If an admin thinks that it's users are not smart enough to figure out that this may be a problem, then it's maybe better to not give the user an account at all.
Adding a feature flag here also doesn't help a lot for the maintenance of Nextcloud itself. If you really really really want to drop this option: then implement an app, that overwrites the CSS to hide this feature and overwrites the session variable that sets this flag in the PHP, but it is very unlikely that this will be implemented in the server itself, because we see this as a valuable feature and something that makes the life of our users a lot easier.
I will close this ticket here. Sorry for the inconvenience.
@MorrisJobke Many services also have minimum password requirements. These rules are there because many users would otherwise choose weak passwords. I think disabling the remember me checkbox would fall into the same category. It prevents users from saving login credentials on computers where they should normally be not saved
It prevents users from saving login credentials on computers where they should normally be not saved
That is the reason that this is disabled by default. If you fear this, then maybe set the session to a super short time span. I don't see, why completely disable that feature helps somebody.
@MorrisJobke There was (is) still an App for this, but it does not work any more (since about version 9 or 10 owncloud/nextcloud).
Yes, but this will not be implemented in the server in itself. It will always be in an app, because our goal at Nextcloud is to make live easier and not harder. And additionally it is quite unlikely that the server team itself will maintain this app. Somebody can implement this app and maintain it. That is the reason why I closed this ticket in the server repo, because this is the bug and feature tracker of the server component itself and not the feature tracker for all the app wishes out there.
We also need to somehow organise ourselves and dumping random feature wishes in it, that are better to be implemented in a separate app does not help us.
If the previous working app is broken, then report it to the maintainer of this app and not in the server.
I am puzzled because no one has mentioned the obvious reason why this option ("remember me") should be removable from the login page: if users set this option and loose their devices, then any one who finds the devices will be able to access the clouded data as well. This might be just slightly embarrassing when it concerns personal data of an unprivileged user, but it becomes a security breach if it happens to a privileged user or even an (sub-)admin.
@wehkah (my comment August 2017:) @LukasReschke Please tell Morris, that the box on the login page should be removed. It is unsafe to have the box, because when a user logs in in an Internet Café or so and clicks the box, the credentials are saved.
Nextcloud is advocating security and privacy. At the same time this checkbox can cause grave security implications.
First, my experience is, that unfortunately, many users choose the most convenient setup over time, even if it compromises security. There are password policies (length, complexity) for the same reasons: most users need compulsion.
Second, there are alternatives for a fast login, like keepass and other password managers. They auto-complete username+password in a heartbeat.
There used to be an app for ownCloud that literally enabled you to disable the checkbox. What happened to that? I can't find the app any more now that I've moved to nextCloud D:
@BloodyIron the app is not working since a long time - you cannot "disable" the remember setting with the app, I guess, this is why the app has been removed (for both owncloud and nextcloud).
If I'm not mistaken, "Remember Me" is now always enabled (see #9109), but according to #13747 it can be disabled by setting remember_login_cookie_lifetime to 0. Please correct me if I'm wrong, otherwise this can probably be closed.
Activity
chaos-prevails commentedon Jan 16, 2017
are there any plans to be able to hide the remember login via config.php or other means (except the discontinued plugin?)
AFAIK #1347 does not fix this.
chaos-prevails commentedon Jan 16, 2017
no, unfortunately not. Checkbox stays.
to remove the checkbox, see #1347 (comment)
it would be easier if the checkbox is removed/hidden as soon as 'remember_login_cookie_lifetime' is set to 0
[-]Feature request: config.php - Disable Remember Login[/-][+]config.php - Disable Remember Login[/+]Wikinaut commentedon May 24, 2017
The Disable Remember Login App appears to be not working with NC 12.0.0. I would also prefer what has been proposed here: add a configuration option to disable the check box on the login screen.
alve89 commentedon Jun 7, 2017
This might be a security sensitive issue if users are authenticated against an external identity provider. So this feature is not only a nice-to-have but rather a must-have.
GitHubUser4234 commentedon Jun 16, 2017
Yeah, since this commit removed the ability to disable the "Stay logged in" checkbox via the
rememberloginflag in the info.xml of an app, it looks like CSS / PHP hacking are the only option to disable it, that's really sad 😢MorrisJobke commentedon Aug 31, 2017
I don't really see the background of this one here. What use case should be solved by this? If the user clicks actively on a "remember me" checkbox maybe the intention of this user is to keep logged in. All that is solved by this is that an admin makes the live of a user more hard and pulls rights from the users. If an admin thinks that it's users are not smart enough to figure out that this may be a problem, then it's maybe better to not give the user an account at all.
Adding a feature flag here also doesn't help a lot for the maintenance of Nextcloud itself. If you really really really want to drop this option: then implement an app, that overwrites the CSS to hide this feature and overwrites the session variable that sets this flag in the PHP, but it is very unlikely that this will be implemented in the server itself, because we see this as a valuable feature and something that makes the life of our users a lot easier.
I will close this ticket here. Sorry for the inconvenience.
Wikinaut commentedon Aug 31, 2017
@MorrisJobke There was (is) still an App for this, but it does not work any more (since about version 9 or 10 owncloud/nextcloud).
chaos-prevails commentedon Aug 31, 2017
@MorrisJobke Many services also have minimum password requirements. These rules are there because many users would otherwise choose weak passwords. I think disabling the remember me checkbox would fall into the same category. It prevents users from saving login credentials on computers where they should normally be not saved
MariusBluem commentedon Aug 31, 2017
Maybe somebody wants to add a checkbox for this into the
password_policy-app?!MorrisJobke commentedon Aug 31, 2017
That is the reason that this is disabled by default. If you fear this, then maybe set the session to a super short time span. I don't see, why completely disable that feature helps somebody.
Yes, but this will not be implemented in the server in itself. It will always be in an app, because our goal at Nextcloud is to make live easier and not harder. And additionally it is quite unlikely that the server team itself will maintain this app. Somebody can implement this app and maintain it. That is the reason why I closed this ticket in the server repo, because this is the bug and feature tracker of the server component itself and not the feature tracker for all the app wishes out there.
We also need to somehow organise ourselves and dumping random feature wishes in it, that are better to be implemented in a separate app does not help us.
If the previous working app is broken, then report it to the maintainer of this app and not in the server.
Please keep this ticket closed. Thanks
23 remaining items
wehkah commentedon Feb 25, 2018
I am puzzled because no one has mentioned the obvious reason why this option ("remember me") should be removable from the login page: if users set this option and loose their devices, then any one who finds the devices will be able to access the clouded data as well. This might be just slightly embarrassing when it concerns personal data of an unprivileged user, but it becomes a security breach if it happens to a privileged user or even an (sub-)admin.
Wikinaut commentedon Feb 25, 2018
@wehkah (my comment August 2017:) @LukasReschke Please tell Morris, that the box on the login page should be removed. It is unsafe to have the box, because when a user logs in in an Internet Café or so and clicks the box, the credentials are saved.
chaos-prevails commentedon Feb 26, 2018
I agree with @Wikinaut and @wehkah : this is a security issue.
Nextcloud is advocating security and privacy. At the same time this checkbox can cause grave security implications.
First, my experience is, that unfortunately, many users choose the most convenient setup over time, even if it compromises security. There are password policies (length, complexity) for the same reasons: most users need compulsion.
Second, there are alternatives for a fast login, like keepass and other password managers. They auto-complete username+password in a heartbeat.
ChristophWurst commentedon Feb 26, 2018
Interesting that you're mentioning this in this context, where one claims that Nextcloud is insecure because of the remember-login feature.
@chaos-prevails would you be interested in working this? I could give you some pointers to get started - just let me know!
chaos-prevails commentedon Feb 26, 2018
Hi @ChristophWurst ,
yes please give me some pointers. I assume the goal is to have the checkbox configurable via the config.inc.php file?
ChristophWurst commentedon Feb 26, 2018
server/core/templates/login.php
Lines 79 to 88 in 695e32d
server/core/Controller/LoginController.php
Lines 133 to 211 in 695e32d
server/core/Controller/LoginController.php
Lines 229 to 332 in 695e32d
It should be easy to locate the corresponding test cases that have to be adapted and extended for this feature.
BloodyIron commentedon May 14, 2018
There used to be an app for ownCloud that literally enabled you to disable the checkbox. What happened to that? I can't find the app any more now that I've moved to nextCloud D:
Wikinaut commentedon May 14, 2018
@BloodyIron the app is not working since a long time - you cannot "disable" the remember setting with the app, I guess, this is why the app has been removed (for both owncloud and nextcloud).
BloodyIron commentedon May 14, 2018
So how about we have this as a built-in feature then already?
GitHubUser4234 commentedon Jul 20, 2020
If I'm not mistaken, "Remember Me" is now always enabled (see #9109), but according to #13747 it can be disabled by setting
remember_login_cookie_lifetimeto 0. Please correct me if I'm wrong, otherwise this can probably be closed.CarlSchwan commentedon Sep 1, 2022
The login view was ported to vue and there is no such checkbox anymore