From e7dfc183308a9539030e0cbaff21895ebbb1829a 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..15044ff11 100644 --- a/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html +++ b/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html @@ -48,25 +48,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