Skip to content
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

Error message of changePassword is wrong when external user (e.g. LDAP user) tries to change password #3418

Open
florianlink opened this issue Sep 29, 2022 · 1 comment

Comments

@florianlink
Copy link

The error is always "Old password is incorrect."
If the user has not password in the model, the error should be:
"External user can not change password."

@florianlink
Copy link
Author

It would also make sense to:

The user documents that are returned when using GET /user/ should contain a flag "isExternal" to indicate that the user is an external user and has no password/salt in the Girder DB. This would be useful for not showing these users a ChangePassword dialog in our application. The flag would have to be set to true when the user is created e.g. by the LDAP plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant