mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Revert "1) Added support for Kerberos authentication, using SPNEGO to forward the Kerberos tickets through a browser. Fixes #5457"
This reverts commit 6ead597b43.
This commit is contained in:
@@ -101,8 +101,7 @@ class TestClient(testing.FlaskClient):
|
||||
|
||||
return csrf_token
|
||||
|
||||
def login(self, email, password, _follow_redirects=False,
|
||||
headers=None):
|
||||
def login(self, email, password, _follow_redirects=False):
|
||||
if config.SERVER_MODE is True:
|
||||
res = self.get('/login', follow_redirects=True)
|
||||
csrf_token = self.fetch_csrf(res)
|
||||
@@ -114,8 +113,7 @@ class TestClient(testing.FlaskClient):
|
||||
email=email, password=password,
|
||||
csrf_token=csrf_token,
|
||||
),
|
||||
follow_redirects=_follow_redirects,
|
||||
headers=headers
|
||||
follow_redirects=_follow_redirects
|
||||
)
|
||||
self.csrf_token = csrf_token
|
||||
|
||||
|
||||
Reference in New Issue
Block a user