mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-09 23:15:58 -06:00
Fix issues related to packages update. #5901
This commit is contained in:
parent
b923f5fcfa
commit
eba306618c
@ -899,7 +899,7 @@ if hasattr(config, 'SECURITY_CHANGEABLE') and config.SECURITY_CHANGEABLE:
|
||||
"""View function which handles a change password request."""
|
||||
|
||||
has_error = False
|
||||
form_class = _security.change_password_form
|
||||
form_class = _security.forms.get('change_password_form').cls
|
||||
req_json = request.get_json(silent=True)
|
||||
|
||||
if req_json:
|
||||
@ -986,7 +986,7 @@ if hasattr(config, 'SECURITY_RECOVERABLE') and config.SECURITY_RECOVERABLE:
|
||||
def forgot_password():
|
||||
"""View function that handles a forgotten password request."""
|
||||
has_error = False
|
||||
form_class = _security.forgot_password_form
|
||||
form_class = _security.forms.get('forgot_password_form').cls
|
||||
req_json = request.get_json(silent=True)
|
||||
|
||||
if req_json:
|
||||
|
Loading…
Reference in New Issue
Block a user