mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where a warning is flashed every time for an email address when
authentication sources are internal and ldap. Fixes #6999
This commit is contained in:
committed by
Akshay Joshi
parent
b1221d5517
commit
b539637426
@@ -74,7 +74,7 @@ class WebserverAuthentication(BaseAuthentication):
|
||||
return gettext("webserver")
|
||||
|
||||
def validate(self, form):
|
||||
return True
|
||||
return True, None
|
||||
|
||||
def get_user(self):
|
||||
username = request.environ.get(config.WEBSERVER_REMOTE_USER)
|
||||
|
||||
Reference in New Issue
Block a user