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

This commit is contained in:
Nikhil Kothari 2022-09-14 19:53:53 +05:30 committed by GitHub
parent 1ba99396bc
commit b974bed769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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