mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Use the login_required decorator in the appropriate place. #5593
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user