Fix incorrect redirection URL after authentication by removing fixed value set to SCRIPT_NAME environment variable in pgAdmin4.wsgi file.#5454

pull/6653/head
Yogesh Mahajan 2023-08-03 09:18:43 +05:30 committed by GitHub
parent 0f86b78d87
commit e8fdf04e97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -13,8 +13,6 @@ import sys
if sys.version_info < (3, 4):
raise Exception('This application must be run under Python 3.4 or later.')
os.environ['SCRIPT_NAME'] = '/pgadmin4'
import builtins
root = os.path.dirname(os.path.realpath(__file__))