Hide passkey login when login form is disabled (#369)

This commit is contained in:
Thomas Miceli 2024-11-02 01:06:14 +01:00 committed by GitHub
parent d537153785
commit 75162b3ef9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,7 +87,7 @@
</div>
</div>
</div>
{{ if .isLoginPage }}
{{ if and (.isLoginPage) (not .disableForm) }}
<div class="">
<div class="mt-8 sm:w-full sm:max-w-md">
<div class="bg-white dark:bg-gray-900 rounded-md border border-1 border-gray-200 dark:border-gray-700 py-8 px-4 shadow sm:rounded-lg sm:px-10 ">