fix: signup link removed if user-pass disabled (#18135)
This commit is contained in:
parent
1ba99396bc
commit
b974bed769
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue