Skip to content

Commit

Permalink
Hide passkey login when login form is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
thomiceli committed Nov 2, 2024
1 parent 97b9fa1 commit bb8d2be
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 bb8d2be

Please sign in to comment.