From 5d2ac37b483ab672b921dd536690e5a249436894 Mon Sep 17 00:00:00 2001 From: Emad Rad Date: Wed, 12 Jun 2024 12:03:17 +0330 Subject: [PATCH] fix: let the platform decide to how login the users We force users to go to authentication mfe for login/registration and prevent the login behaviour tweaks like having THIRD_PARTY_AUTH_HINT in your site configuration which redirect users to a TPA when they visit /login. Close #87 --- .../header/navbar-not-authenticated.html | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html b/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html index 87730c676..119d45ac3 100644 --- a/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html +++ b/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html @@ -49,25 +49,13 @@
% if allows_login: % if allow_public_account_creation and not disable_register_button: - % if should_redirect_to_authn_mfe: - - % else: - % endif - % endif - % if should_redirect_to_authn_mfe: - - % else: - % endif + % endif