mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that internal users are able to login when auth sources are [ldap, internal]. #6151
This commit is contained in:
@@ -289,6 +289,10 @@ class AuthSourceManager:
|
||||
if msg is not None and 'username' in msg:
|
||||
self.form._fields['email'].data = msg['username']
|
||||
return status, msg
|
||||
else:
|
||||
current_app.logger.debug(
|
||||
"Authentication initiated via source: %s is failed." %
|
||||
source.get_source_name())
|
||||
|
||||
return status, msg
|
||||
|
||||
|
Reference in New Issue
Block a user