-
-
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
Do not advertize the use of email as a valid username if explicitely disabled in configuration #3278
Comments
@blizzz can you confirm quickly? |
@nickvergessen Yes, we have this text unconditionally in the template: https://github.com/nextcloud/server/blob/master/core/templates/login.php#L43 @ArnY is right in the way that what you can use for logging in is backend dependent, and we don't know what some backend is accepting. Technically correct would be solely |
I think I would accept "if ldap enabled and that thing is switched off, use a different placeholder" |
Wouldn't work exactly, to reliable discover this we'd need to parse the login filter. Could be as well an admin setting, with l10ned "Username" and "Username or email" or untranslated free text. Less Voodoo. |
Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
Fix is maybe in #3698 |
Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
I am using an up to date version of Nextcloud with a LDAP backend, and I unticked the option to use email addresses in the LDAP config. |
No. It's not implemented. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Still an issue in 23, 24 and 25. |
By default, the username input box on the login page has a default value of "Username or email". While this is true with the default configuration, it will still be displayed even if ldap_loginfilter_email is set to false in the ldap configuration, thus misleading users.
The placeholder value for this input should be dependant of the dap_loginfilter_email and ldap_loginfilter_username values.
The text was updated successfully, but these errors were encountered: