mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-01 15:53:03 -06:00
- Webserver login and auto-creation looked the account up by username alone. An internal account with the same username was found first, so the Webserver user was refused, or never created. - LDAP auto-creation, when LDAP_DN_CASE_SENSITIVE is off, compared the stored username with the lower-cased login name, so an LDAP user whose username has capitals was not found after their first login, and the attempt to create them again failed, so they could not log in. It now compares both lower-cased. - setup.py update-user and update-external-user failed with a KeyError unless --role or --admin was given, so an account could not be deactivated on its own, as the LDAP documentation describes. A test also checks that a password reset requested with the email in another case is sent for the internal account.