From 799b6d8f7c10e920c9e67c2c18d381d6320ca604 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Tue, 13 Dec 2022 16:26:35 +0530 Subject: [PATCH] Use the login_required decorator in the appropriate place. #5593 --- docs/en_US/release_notes_6_18.rst | 1 + web/pgadmin/misc/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en_US/release_notes_6_18.rst b/docs/en_US/release_notes_6_18.rst index 9ace19a5d..c9bc7da81 100644 --- a/docs/en_US/release_notes_6_18.rst +++ b/docs/en_US/release_notes_6_18.rst @@ -32,3 +32,4 @@ Bug fixes | `Issue #5603 `_ - Fixed an issue where master password was not set correctly with external config database. | `Issue #5606 `_ - Fixed an error in the collation create script for PG-15. | `Issue #5629 `_ - Fixed BigAnimal authentication aborted issue. + | `Issue #5637 `_ - Ensure that the BigAnimal displays PG version 11-14 for Oracle compatible databases type. diff --git a/web/pgadmin/misc/__init__.py b/web/pgadmin/misc/__init__.py index de25fe1d8..6d9169f8c 100644 --- a/web/pgadmin/misc/__init__.py +++ b/web/pgadmin/misc/__init__.py @@ -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