mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Replace Flask-BabelEx with Flask-Babel. Fixes #6088
2) Upgrade Flask to version 2. Fixes #7010
This commit is contained in:
@@ -24,7 +24,8 @@ class _PGCSRFProtect(CSRFProtect):
|
||||
"""
|
||||
|
||||
exempt_views = [
|
||||
'flask.helpers.send_static_file',
|
||||
'flask.app.<lambda>',
|
||||
'flask.scaffold.send_static_file',
|
||||
'flask_security.views.login',
|
||||
'flask_security.views.logout',
|
||||
'pgadmin.tools.translations',
|
||||
|
||||
Reference in New Issue
Block a user