fix: only show external login text when providers available (#768)

This commit is contained in:
Livio Amstutz
2020-09-21 14:06:54 +02:00
committed by GitHub
parent da8f243129
commit 9887e897ee
4 changed files with 14 additions and 3 deletions

View File

@@ -36,7 +36,7 @@
{{end}}
</div>
{{if .LoginPolicy.AllowExternalIDP}}
{{if hasExternalLogin }}
<div class="actions idp-providers">
<p>{{t "Login.ExternalLogin"}}</p>