From bafc0c65c4aaa552be7a8c87361e124de0389f20 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 14 Sep 2022 19:57:11 +0530 Subject: [PATCH] fix: signup link removed if user-pass disabled (#18135) (#18137) (cherry picked from commit b974bed7696c7afa80fa169ca71cf135eaa1e4c5) Co-authored-by: Nikhil Kothari --- frappe/www/login.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/www/login.html b/frappe/www/login.html index 3e16088e90..e9f2b9103a 100644 --- a/frappe/www/login.html +++ b/frappe/www/login.html @@ -108,7 +108,7 @@ {%- endif -%} - {%- if not disable_signup -%} + {%- if not disable_signup and not disable_user_pass_login -%}
{{ _("Don't have an account?") }} {{ _("Sign up") }} @@ -124,7 +124,7 @@ {{ email_login_body() }}
- {%- if not disable_signup -%} + {%- if not disable_signup and not disable_user_pass_login -%}
{{ _("Don't have an account?") }} {{ _("Sign up") }}