mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-16 18:11:59 -05:00
1) Added support for Kerberos authentication, using SPNEGO to forward the Kerberos tickets through a browser. Fixes #5457
2) Fixed incorrect log information for AUTHENTICATION_SOURCES. Fixes #5829
This commit is contained in:
1 parent
a60cfd3cc3
commit
c0ef0a893d
28 files changed
+502
-46
No files matched your search
@@ -101,7 +101,8 @@ class TestClient(testing.FlaskClient):
|
||||
|
||||
return csrf_token
|
||||
|
||||
def login(self, email, password, _follow_redirects=False):
|
||||
def login(self, email, password, _follow_redirects=False,
|
||||
headers=None):
|
||||
if config.SERVER_MODE is True:
|
||||
res = self.get('/login', follow_redirects=True)
|
||||
csrf_token = self.fetch_csrf(res)
|
||||
@@ -113,7 +114,8 @@ class TestClient(testing.FlaskClient):
|
||||
email=email, password=password,
|
||||
csrf_token=csrf_token,
|
||||
),
|
||||
follow_redirects=_follow_redirects
|
||||
follow_redirects=_follow_redirects,
|
||||
headers=headers
|
||||
)
|
||||
self.csrf_token = csrf_token
|
||||
|
||||
|
||||
Reference in new issue
Block a user