only display passkey login when connection is secure

This commit is contained in:
sbwalker
2025-10-29 13:36:49 -04:00
parent 7e69b5193f
commit cd24573599

View File

@ -52,7 +52,7 @@ else
</div>
<button type="button" class="btn btn-secondary col-12 mt-4" @onclick="Forgot">@Localizer["ForgotPassword"]</button>
@if (_allowpasskeys)
@if (_allowpasskeys && PageState.Route.Scheme == "https")
{
<hr class="app-rule mt-3" />
<button type="button" class="btn btn-primary col-12 mt-2" @onclick="Passkey">@Localizer["Passkey"]</button>