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

@@ -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