Skip to content

Commit

Permalink
Hide passkey login when login form is disabled (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomiceli authored Nov 2, 2024
1 parent d537153 commit 75162b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/pages/auth_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h1 class="text-2xl font-bold leading-tight text-slate-700 dark:text-slate-300">
</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 ">
Expand Down

0 comments on commit 75162b3

Please sign in to comment.