-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Enable/Disable users to change their password #12671
Comments
GitMate.io thinks possibly related issues are #10572 (Fix security settings if password change is disabled), #9474 (It'll be nice to have "disable password confirm" option), #4008 (Disable reset password link), #12386 (Disable password change with SSO), and #5746 (Create user failed / password policy crash). |
why do you need to enable/disable users to change passwords? |
Because people have one password for business system and they could change that only password in some subsystem like Nextcloud. Hopefully you understand what i mean. |
ahh, sorry, I misunderstood your first post... now I get it |
Yes. |
Yes, you can disable password change in LDAP (also in user_SQL or SMTP login) but you cannot hide change password dialog - so users are confused. We want to hide whole change password dialog, not only to disable password change. |
I suppose you talk about this page? Password dialog is displayed when
server/lib/private/Settings/Personal/Security.php Lines 70 to 73 in 4f75173
server/lib/private/User/User.php Lines 326 to 328 in 1fd640b
server/apps/user_ldap/lib/User_LDAP.php Lines 547 to 556 in 2d30511
The good news: This feature is already there 👍 |
I did some testing (used https://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/ as ldap server) and it works for me. No change password form by default. Only when above checkbox is enabled. You are using nextcloud 14? (i have tested it with 15) |
I am using NX 14 with user_sql - so I need to hide password change dialog here... |
https://github.com/nextcloud/user_sql i see a "allow password change" checkbox there? |
Yes - it disable password change - but it does not hide password change dialog. And author of user_sql said - "hiding password change dialog is feauture of nextcloud core not user_sql addon" |
@mlojewski-me would you mind to reopen nextcloud/user_sql#78 and have a second look?
server/lib/public/User/Backend/ABackend.php Lines 42 to 50 in b723a2b
Nextcloud asks the backend if a password change is possible (and if so shows the form) server/lib/private/User/User.php Lines 326 to 328 in 1fd640b
I guess you have to overwrite |
Thank you @tomtomas99911 for reporting this and answering all my questions 👍 |
@danielkesselberg issue reopened, I will check it soon |
Any advance here please? |
Issue nextcloud/user_sql#78 resolved |
Actually there are no steps to reproduce, we just need some feature that allows us enable/disable users to change their password.
The text was updated successfully, but these errors were encountered: