Преглед изворни кода

fix: signup link removed if user-pass disabled (#18135) (#18137)

(cherry picked from commit b974bed769)

Co-authored-by: Nikhil Kothari <nik.kothari22@live.com>
version-14
mergify[bot] пре 2 година
committed by GitHub
родитељ
комит
bafc0c65c4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 2 додато и 2 уклоњено
  1. +2
    -2
      frappe/www/login.html

+ 2
- 2
frappe/www/login.html Прегледај датотеку

@@ -108,7 +108,7 @@
{%- endif -%} {%- endif -%}
</form> </form>
</div> </div>
{%- if not disable_signup -%}
{%- if not disable_signup and not disable_user_pass_login -%}
<div class="text-center sign-up-message"> <div class="text-center sign-up-message">
{{ _("Don't have an account?") }} {{ _("Don't have an account?") }}
<a href="#signup">{{ _("Sign up") }}</a> <a href="#signup">{{ _("Sign up") }}</a>
@@ -124,7 +124,7 @@
{{ email_login_body() }} {{ email_login_body() }}
</form> </form>
</div> </div>
{%- if not disable_signup -%}
{%- if not disable_signup and not disable_user_pass_login -%}
<div class="text-center sign-up-message"> <div class="text-center sign-up-message">
{{ _("Don't have an account?") }} {{ _("Don't have an account?") }}
<a href="#signup">{{ _("Sign up") }}</a> <a href="#signup">{{ _("Sign up") }}</a>


Loading…
Откажи
Сачувај