1 diff -aur pgadmin4-4.30/web/pgadmin/browser/__init__.py pgadmin4-4.30.old/web/pgadmin/browser/__init__.py
2 --- pgadmin4-4.30/web/pgadmin/browser/__init__.py 2021-10-03 19:00:39.757955280 +0200
3 +++ pgadmin4-4.30.old/web/pgadmin/browser/__init__.py 2021-10-03 18:59:22.220450894 +0200
5 from flask_security.signals import reset_password_instructions_sent
6 from flask_security.utils import config_value, do_flash, get_url, \
7 get_message, slash_url_suffix, login_user, send_mail, logout_user
8 -from flask_security.views import _security, view_commit, _ctx
9 +from flask_security.views import _security, _commit, _ctx
10 from werkzeug.datastructures import MultiDict
16 if request.json is None and not has_error:
17 - after_this_request(view_commit)
18 + after_this_request(_commit)
19 do_flash(*get_message('PASSWORD_CHANGE'))
21 old_key = get_crypt_key()[1]
26 - after_this_request(view_commit)
27 + after_this_request(_commit)
28 do_flash(*get_message('PASSWORD_RESET'))
30 return redirect(get_url(_security.post_reset_view) or