mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Pin Flask version 2.1.*
2) Fixed API test cases that failed due to a change in the Werkzeug version. 3) Change password issue is fixed.
This commit is contained in:
@@ -178,9 +178,10 @@ class KerberosAuthentication(BaseAuthentication):
|
||||
headers = Headers()
|
||||
authorization = request.headers.get("Authorization", None)
|
||||
form_class = _security.login_form
|
||||
req_json = request.get_json(force=True)
|
||||
|
||||
if request.json:
|
||||
form = form_class(MultiDict(request.json))
|
||||
if req_json:
|
||||
form = form_class(MultiDict(req_json))
|
||||
else:
|
||||
form = form_class()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user