Skip to content

Commit

Permalink
Replace some incorrect usage of x_login_id_input_type
Browse files Browse the repository at this point in the history
  • Loading branch information
louischan-oursky committed Sep 19, 2022
1 parent acbe4fe commit 74bbd6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/authgear/templates/en/web/__error.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<li id="error-message-network" class="hidden">{{ template "error-network" }}</li>
<li id="error-message-invalid-selected-image" class="hidden">{{ template "error-invalid-selected-image" }}</li>
<li id="error-message-no-passkey" class="hidden">{{ template "error-no-passkey" (dict "type" $.FirstNonPasskeyPrimaryAuthenticatorType) }}</li>
<li id="error-message-passkey-empty-allow-credentials" class="hidden">{{ template "error-passkey-empty-allow-credentials" (dict "variant" $.x_login_id_input_type) }}</li>
<li id="error-message-passkey-empty-allow-credentials" class="hidden">{{ template "error-passkey-empty-allow-credentials" (dict "variant" $.LoginIDContextualType) }}</li>
{{ if $display_error }}
{{ $info := .Error.info }}
{{ if eq .Error.reason "ValidationFailed" }}
Expand Down
2 changes: 1 addition & 1 deletion resources/authgear/templates/en/web/promote.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h1 class="m-0 primary-txt text-center text-xl font-bold">
tabindex="0"
autofocus
class="text-input primary-txt"
type="{{ $.x_login_id_input_type }}"
type="{{ $.NonPhoneLoginIDInputType }}"
name="x_login_id"
autocomplete="username"
autocapitalize="none"
Expand Down
2 changes: 1 addition & 1 deletion resources/authgear/templates/en/web/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h1 class="m-0 primary-txt text-center text-xl font-bold">
tabindex="0"
autofocus
class="text-input primary-txt"
type="{{ $.x_login_id_input_type }}"
type="{{ $.NonPhoneLoginIDInputType }}"
name="x_login_id"
autocomplete="username"
autocapitalize="none"
Expand Down

0 comments on commit 74bbd6b

Please sign in to comment.