From 06ebb4b8eff0a497169e9c4171ee7b783ab739d5 Mon Sep 17 00:00:00 2001
From: Jawaid Mushtaq
Date: Fri, 31 May 2024 13:13:23 +0800
Subject: [PATCH] fixed ../ssologin url relogin issue
---
.../components/wc_payments/context_processors.py | 3 ++-
wildlifecompliance/templates/wildlifecompliance/index.html | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/wildlifecompliance/components/wc_payments/context_processors.py b/wildlifecompliance/components/wc_payments/context_processors.py
index bcd3535e7..4118e342f 100644
--- a/wildlifecompliance/components/wc_payments/context_processors.py
+++ b/wildlifecompliance/components/wc_payments/context_processors.py
@@ -29,7 +29,8 @@ def commercialoperator_url(request):
'SYSTEM_NAME' : settings.SYSTEM_NAME,
'IS_OFFICER' : is_officer,
'IS_ADMIN' : is_admin,
- 'IS_CUSTOMER' : is_customer
+ 'IS_CUSTOMER' : is_customer,
+ 'BASE_URL' : settings.SITE_URL,
}
diff --git a/wildlifecompliance/templates/wildlifecompliance/index.html b/wildlifecompliance/templates/wildlifecompliance/index.html
index 4f5b850a5..bac22001d 100644
--- a/wildlifecompliance/templates/wildlifecompliance/index.html
+++ b/wildlifecompliance/templates/wildlifecompliance/index.html
@@ -35,7 +35,7 @@
-->
{% bootstrap_messages %}
- Login
+ Login
Wildlife Licensing Password-less Logins