Use the login_required decorator in the appropriate place. #5593

This commit is contained in:
Akshay Joshi 2022-12-13 16:26:35 +05:30
parent d9fba3a186
commit 799b6d8f7c
2 changed files with 2 additions and 1 deletions

View File

@ -32,3 +32,4 @@ Bug fixes
| `Issue #5603 <https://github.com/pgadmin-org/pgadmin4/issues/5603>`_ - Fixed an issue where master password was not set correctly with external config database.
| `Issue #5606 <https://github.com/pgadmin-org/pgadmin4/issues/5606>`_ - Fixed an error in the collation create script for PG-15.
| `Issue #5629 <https://github.com/pgadmin-org/pgadmin4/issues/5629>`_ - Fixed BigAnimal authentication aborted issue.
| `Issue #5637 <https://github.com/pgadmin-org/pgadmin4/issues/5637>`_ - Ensure that the BigAnimal displays PG version 11-14 for Oracle compatible databases type.

View File

@ -193,10 +193,10 @@ def shutdown():
##########################################################################
# A special URL used to validate the binary path
##########################################################################
@login_required
@blueprint.route("/validate_binary_path",
endpoint="validate_binary_path",
methods=["POST"])
@login_required
def validate_binary_path():
"""
This function is used to validate the specified utilities path by