@keycloakify/angular 0.0.1-rc.23 → 0.0.1-rc.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/bin/338.index.js +14 -1
- package/bin/758.index.js +14 -1
- package/bin/925.index.js +13 -2
- package/esm2022/login/containers/template/template.component.mjs +11 -5
- package/esm2022/login/login.mjs +1 -1
- package/esm2022/login/pages/code/code.component.mjs +3 -3
- package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +3 -3
- package/esm2022/login/pages/error/error.component.mjs +3 -3
- package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +7 -7
- package/esm2022/login/pages/info/info.component.mjs +3 -3
- package/esm2022/login/pages/login/login.component.mjs +3 -3
- package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +3 -3
- package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +3 -3
- package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +3 -3
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +3 -3
- package/esm2022/login/pages/login-password/login-password.component.mjs +3 -3
- package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +3 -3
- package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +3 -3
- package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +3 -3
- package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +7 -7
- package/esm2022/login/pages/login-username/login-username.component.mjs +3 -3
- package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +3 -3
- package/esm2022/login/pages/register/register.component.mjs +7 -7
- package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +3 -3
- package/esm2022/login/pages/update-email/update-email.component.mjs +7 -7
- package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-containers-template.mjs +10 -4
- package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-code.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-error.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-info.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-register.mjs +7 -7
- package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -1
- package/login/containers/template/template.component.d.ts +4 -2
- package/login/login.d.ts +1 -0
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +4 -2
- package/login/pages/login-update-profile/login-update-profile.component.d.ts +4 -2
- package/login/pages/register/register.component.d.ts +4 -2
- package/login/pages/update-email/update-email.component.d.ts +4 -2
- package/package.json +7 -7
- package/src/bin/eject-page.ts +21 -3
- package/src/bin/update-kc-gen.ts +14 -1
- package/src/login/containers/template/template.component.html +1 -0
- package/src/login/containers/template/template.component.ts +6 -0
- package/src/login/login.ts +1 -0
- package/src/login/pages/code/code.component.html +1 -0
- package/src/login/pages/delete-credential/delete-credential.component.html +26 -26
- package/src/login/pages/error/error.component.html +16 -17
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +1 -1
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +4 -3
- package/src/login/pages/info/info.component.html +2 -2
- package/src/login/pages/login/login.component.html +3 -1
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.html +2 -0
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +1 -0
- package/src/login/pages/login-page-expired/login-page-expired.component.html +23 -24
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +166 -165
- package/src/login/pages/login-password/login-password.component.html +68 -69
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +55 -57
- package/src/login/pages/login-reset-otp/login-reset-otp.component.html +48 -49
- package/src/login/pages/login-reset-password/login-reset-password.component.html +1 -0
- package/src/login/pages/login-update-profile/login-update-profile.component.html +1 -1
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +3 -2
- package/src/login/pages/login-username/login-username.component.html +5 -3
- package/src/login/pages/login-verify-email/login-verify-email.component.html +1 -1
- package/src/login/pages/register/register.component.html +2 -2
- package/src/login/pages/register/register.component.ts +3 -2
- package/src/login/pages/select-authenticator/select-authenticator.component.html +32 -32
- package/src/login/pages/update-email/update-email.component.html +1 -1
- package/src/login/pages/update-email/update-email.component.ts +3 -2
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +1 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@let realm = kcContext.realm;
|
|
2
|
-
@let social = kcContext.social;
|
|
3
2
|
@let usernameHidden = kcContext.usernameHidden;
|
|
4
3
|
@let auth = kcContext.auth;
|
|
5
4
|
@let messagesPerField = kcContext.messagesPerField;
|
|
@@ -10,6 +9,7 @@
|
|
|
10
9
|
{{ i18n.msgStr('loginAccountTitle') }}
|
|
11
10
|
</ng-template>
|
|
12
11
|
<ng-template #infoNode>
|
|
12
|
+
@let url = kcContext.url;
|
|
13
13
|
<div id="kc-registration-container">
|
|
14
14
|
<div id="kc-registration">
|
|
15
15
|
<span>
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
</div>
|
|
26
26
|
</ng-template>
|
|
27
27
|
<ng-template #socialProvidersNode>
|
|
28
|
+
@let realm = kcContext.realm;
|
|
29
|
+
@let social = kcContext.social;
|
|
28
30
|
@if (!!realm?.password && !!social?.providers?.length) {
|
|
29
31
|
<div
|
|
30
32
|
id="kc-social-providers"
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
@let url = kcContext.url;
|
|
2
2
|
|
|
3
|
-
<ng-
|
|
3
|
+
<ng-template #headerNode>
|
|
4
4
|
{{ i18n.msgStr('pageExpiredTitle') }}
|
|
5
|
-
</ng-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
</ng-template>
|
|
6
|
+
|
|
7
|
+
<p
|
|
8
|
+
id="instruction1"
|
|
9
|
+
class="instruction"
|
|
10
|
+
>
|
|
11
|
+
{{ i18n.msgStr('pageExpiredMsg1') }}
|
|
12
|
+
<a
|
|
13
|
+
id="loginRestartLink"
|
|
14
|
+
[href]="url.loginRestartFlowUrl"
|
|
15
|
+
>
|
|
16
|
+
{{ i18n.msgStr('doClickHere') }}
|
|
17
|
+
</a>
|
|
18
|
+
.<br />
|
|
19
|
+
{{ i18n.msgStr('pageExpiredMsg2') }}
|
|
20
|
+
<a
|
|
21
|
+
id="loginContinueLink"
|
|
22
|
+
[href]="url.loginAction"
|
|
10
23
|
>
|
|
11
|
-
{{ i18n.msgStr('
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
>
|
|
16
|
-
{{ i18n.msgStr('doClickHere') }}
|
|
17
|
-
</a>
|
|
18
|
-
.<br />
|
|
19
|
-
{{ i18n.msgStr('pageExpiredMsg2') }}
|
|
20
|
-
<a
|
|
21
|
-
id="loginContinueLink"
|
|
22
|
-
[href]="url.loginAction"
|
|
23
|
-
>
|
|
24
|
-
{{ i18n.msgStr('doClickHere') }}
|
|
25
|
-
</a>
|
|
26
|
-
.
|
|
27
|
-
</p>
|
|
28
|
-
</ng-container>
|
|
24
|
+
{{ i18n.msgStr('doClickHere') }}
|
|
25
|
+
</a>
|
|
26
|
+
.
|
|
27
|
+
</p>
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
<ng-template #headerNode>
|
|
10
10
|
{{ i18n.msgStr('passkey-login-title') }}
|
|
11
11
|
</ng-template>
|
|
12
|
-
<ng-
|
|
12
|
+
<ng-template #infoNode>
|
|
13
|
+
@let realm = kcContext.realm;
|
|
14
|
+
@let url = kcContext.url;
|
|
13
15
|
@if (realm.registrationAllowed && !registrationDisabled) {
|
|
14
16
|
<div id="kc-registration">
|
|
15
17
|
<span>
|
|
@@ -23,176 +25,175 @@
|
|
|
23
25
|
</span>
|
|
24
26
|
</div>
|
|
25
27
|
}
|
|
26
|
-
</ng-
|
|
28
|
+
</ng-template>
|
|
27
29
|
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
</form>
|
|
30
|
+
<form
|
|
31
|
+
id="webauth"
|
|
32
|
+
method="post"
|
|
33
|
+
[action]="url.loginAction"
|
|
34
|
+
>
|
|
35
|
+
<input
|
|
36
|
+
type="hidden"
|
|
37
|
+
id="clientDataJSON"
|
|
38
|
+
name="clientDataJSON"
|
|
39
|
+
/>
|
|
40
|
+
<input
|
|
41
|
+
type="hidden"
|
|
42
|
+
id="authenticatorData"
|
|
43
|
+
name="authenticatorData"
|
|
44
|
+
/>
|
|
45
|
+
<input
|
|
46
|
+
type="hidden"
|
|
47
|
+
id="signature"
|
|
48
|
+
name="signature"
|
|
49
|
+
/>
|
|
50
|
+
<input
|
|
51
|
+
type="hidden"
|
|
52
|
+
id="credentialId"
|
|
53
|
+
name="credentialId"
|
|
54
|
+
/>
|
|
55
|
+
<input
|
|
56
|
+
type="hidden"
|
|
57
|
+
id="userHandle"
|
|
58
|
+
name="userHandle"
|
|
59
|
+
/>
|
|
60
|
+
<input
|
|
61
|
+
type="hidden"
|
|
62
|
+
id="error"
|
|
63
|
+
name="error"
|
|
64
|
+
/>
|
|
65
|
+
</form>
|
|
66
|
+
<div
|
|
67
|
+
no-bottom-margin="true"
|
|
68
|
+
style="margin-bottom: 0"
|
|
69
|
+
[kcClass]="'kcFormGroupClass'"
|
|
70
|
+
>
|
|
71
|
+
@if (authenticators !== undefined && authenticators.authenticators.length !== 0) {
|
|
72
|
+
<form
|
|
73
|
+
id="authn_select"
|
|
74
|
+
[kcClass]="'kcFormClass'"
|
|
75
|
+
>
|
|
76
|
+
@for (authenticator of authenticators.authenticators; track authenticator; let i = $index) {
|
|
77
|
+
<input
|
|
78
|
+
type="hidden"
|
|
79
|
+
name="authn_use_chk"
|
|
80
|
+
readOnly
|
|
81
|
+
[value]="authenticator.credentialId"
|
|
82
|
+
/>
|
|
83
|
+
}
|
|
84
|
+
</form>
|
|
84
85
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
86
|
+
@if (shouldDisplayAuthenticators) {
|
|
87
|
+
@if (authenticators.authenticators.length > 1) {
|
|
88
|
+
<p [kcClass]="'kcSelectAuthListItemTitle'">
|
|
89
|
+
{{ i18n.msgStr('passkey-available-authenticators') }}
|
|
90
|
+
</p>
|
|
91
|
+
}
|
|
91
92
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
93
|
+
<div [kcClass]="'kcFormClass'">
|
|
94
|
+
@for (authenticator of authenticators.authenticators; track authenticator; let i = $index) {
|
|
95
|
+
<div
|
|
96
|
+
id="'kc-webauthn-authenticator-item-' + i"
|
|
97
|
+
[kcClass]="'kcSelectAuthListItemClass'"
|
|
98
|
+
>
|
|
99
|
+
<i
|
|
100
|
+
aria-hidden="true"
|
|
101
|
+
[ngClass]="selectAuthListItemIconClass(authenticator.transports.iconClass)"
|
|
102
|
+
[kcClass]="'kcCommonLogoIdP'"
|
|
103
|
+
></i>
|
|
104
|
+
<div [kcClass]="'kcSelectAuthListItemBodyClass'">
|
|
105
|
+
<div
|
|
106
|
+
[id]="'kc-webauthn-authenticator-label-' + i"
|
|
107
|
+
[kcClass]="'kcSelectAuthListItemHeadingClass'"
|
|
108
|
+
>
|
|
109
|
+
{{ i18n.advancedMsgStr(authenticator.label) }}
|
|
110
|
+
</div>
|
|
111
|
+
@if (
|
|
112
|
+
authenticator.transports !== undefined &&
|
|
113
|
+
authenticator.transports.displayNameProperties !== undefined &&
|
|
114
|
+
authenticator.transports.displayNameProperties.length !== 0
|
|
115
|
+
) {
|
|
104
116
|
<div
|
|
105
|
-
[id]="'kc-webauthn-authenticator-
|
|
106
|
-
[kcClass]="'
|
|
117
|
+
[id]="'kc-webauthn-authenticator-transport-' + i"
|
|
118
|
+
[kcClass]="'kcSelectAuthListItemDescriptionClass'"
|
|
107
119
|
>
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
authenticator.transports !== undefined &&
|
|
112
|
-
authenticator.transports.displayNameProperties !== undefined &&
|
|
113
|
-
authenticator.transports.displayNameProperties.length !== 0
|
|
114
|
-
) {
|
|
115
|
-
<div
|
|
116
|
-
[id]="'kc-webauthn-authenticator-transport-' + i"
|
|
117
|
-
[kcClass]="'kcSelectAuthListItemDescriptionClass'"
|
|
118
|
-
>
|
|
119
|
-
@for (nameProperty of authenticator.transports.displayNameProperties; track nameProperty; let i = $index) {
|
|
120
|
-
<span>
|
|
121
|
-
{{ i18n.advancedMsgStr(nameProperty) }}
|
|
122
|
-
</span>
|
|
123
|
-
@if (i !== authenticator.transports.displayNameProperties.length - 1) {
|
|
124
|
-
<span>, </span>
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
</div>
|
|
128
|
-
<div [kcClass]="'kcSelectAuthListItemDescriptionClass'">
|
|
129
|
-
<span [id]="'kc-webauthn-authenticator-createdlabel-' + i">
|
|
130
|
-
{{ i18n.msgStr('passkey-createdAt-label') }}
|
|
120
|
+
@for (nameProperty of authenticator.transports.displayNameProperties; track nameProperty; let i = $index) {
|
|
121
|
+
<span>
|
|
122
|
+
{{ i18n.advancedMsgStr(nameProperty) }}
|
|
131
123
|
</span>
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
124
|
+
@if (i !== authenticator.transports.displayNameProperties.length - 1) {
|
|
125
|
+
<span>, </span>
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
</div>
|
|
129
|
+
<div [kcClass]="'kcSelectAuthListItemDescriptionClass'">
|
|
130
|
+
<span [id]="'kc-webauthn-authenticator-createdlabel-' + i">
|
|
131
|
+
{{ i18n.msgStr('passkey-createdAt-label') }}
|
|
132
|
+
</span>
|
|
133
|
+
<span [id]="'kc-webauthn-authenticator-created-' + i">
|
|
134
|
+
{{ authenticator.createdAt }}
|
|
135
|
+
</span>
|
|
136
|
+
</div>
|
|
137
|
+
<div [kcClass]="'kcSelectAuthListItemFillClass'"></div>
|
|
138
|
+
}
|
|
139
139
|
</div>
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
</div>
|
|
141
|
+
}
|
|
142
|
+
</div>
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
144
|
+
}
|
|
145
|
+
<div id="kc-form-wrapper">
|
|
146
|
+
@if (realm.password) {
|
|
147
|
+
<form
|
|
148
|
+
id="kc-form-passkey"
|
|
149
|
+
method="post"
|
|
150
|
+
style="display: none"
|
|
151
|
+
[action]="url.loginAction"
|
|
152
|
+
>
|
|
153
|
+
@if (!usernameHidden) {
|
|
154
|
+
<div [kcClass]="'kcFormGroupClass'">
|
|
155
|
+
<label
|
|
156
|
+
for="username"
|
|
157
|
+
[kcClass]="'kcLabelClass'"
|
|
158
|
+
>
|
|
159
|
+
{{ i18n.msgStr('passkey-autofill-select') }}
|
|
160
|
+
</label>
|
|
161
|
+
<input
|
|
162
|
+
tabIndex="1"
|
|
163
|
+
id="username"
|
|
164
|
+
name="username"
|
|
165
|
+
type="text"
|
|
166
|
+
autoFocus
|
|
167
|
+
autoComplete="off"
|
|
168
|
+
[attr.aria-invalid]="messagesPerField.existsError('username')"
|
|
169
|
+
[kcClass]="'kcInputClass'"
|
|
170
|
+
[value]="login.username ?? ''"
|
|
171
|
+
/>
|
|
172
|
+
@if (messagesPerField.existsError('username')) {
|
|
173
|
+
<span
|
|
174
|
+
id="input-error-username"
|
|
175
|
+
aria-live="polite"
|
|
176
|
+
[kcClass]="'kcInputErrorMessageClass'"
|
|
157
177
|
>
|
|
158
|
-
{{
|
|
159
|
-
</
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
</div>
|
|
181
|
-
}
|
|
182
|
-
</form>
|
|
183
|
-
<div
|
|
184
|
-
id="kc-form-passkey-button"
|
|
185
|
-
style="display: none"
|
|
186
|
-
[kcClass]="'kcFormButtonsClass'"
|
|
187
|
-
>
|
|
188
|
-
<input
|
|
189
|
-
id="authButtonId"
|
|
190
|
-
type="button"
|
|
191
|
-
autoFocus
|
|
192
|
-
[value]="i18n.msgStr('passkey-doAuthenticate')"
|
|
193
|
-
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
|
|
194
|
-
/>
|
|
195
|
-
</div>
|
|
196
|
-
}
|
|
197
|
-
</div></div
|
|
198
|
-
></ng-container>
|
|
178
|
+
{{ messagesPerField.get('username') }}
|
|
179
|
+
</span>
|
|
180
|
+
}
|
|
181
|
+
</div>
|
|
182
|
+
}
|
|
183
|
+
</form>
|
|
184
|
+
<div
|
|
185
|
+
id="kc-form-passkey-button"
|
|
186
|
+
style="display: none"
|
|
187
|
+
[kcClass]="'kcFormButtonsClass'"
|
|
188
|
+
>
|
|
189
|
+
<input
|
|
190
|
+
id="authButtonId"
|
|
191
|
+
type="button"
|
|
192
|
+
autoFocus
|
|
193
|
+
[value]="i18n.msgStr('passkey-doAuthenticate')"
|
|
194
|
+
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
|
|
195
|
+
/>
|
|
196
|
+
</div>
|
|
197
|
+
}
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
@@ -5,79 +5,78 @@
|
|
|
5
5
|
<ng-template #headerNode>
|
|
6
6
|
{{ i18n.msgStr('doLogIn') }}
|
|
7
7
|
</ng-template>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
|
|
9
|
+
<div id="kc-form">
|
|
10
|
+
<div id="kc-form-wrapper">
|
|
11
|
+
<form
|
|
12
|
+
id="kc-form-login"
|
|
13
|
+
method="post"
|
|
14
|
+
[action]="url?.loginAction"
|
|
15
|
+
(onSubmit)="isLoginButtonDisabled.set(true)"
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
class="no-bottom-margin"
|
|
19
|
+
[kcClass]="'kcFormGroupClass'"
|
|
16
20
|
>
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
<hr />
|
|
22
|
+
<label
|
|
23
|
+
for="password"
|
|
24
|
+
[kcClass]="'kcLabelClass'"
|
|
20
25
|
>
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
[required]="true"
|
|
36
|
-
[autofocus]="true"
|
|
37
|
-
[tabindex]="1"
|
|
38
|
-
/>
|
|
39
|
-
</kc-password-wrapper>
|
|
26
|
+
{{ i18n.msgStr('password') }}
|
|
27
|
+
</label>
|
|
28
|
+
<kc-password-wrapper passwordInputId="password">
|
|
29
|
+
<input
|
|
30
|
+
type="password"
|
|
31
|
+
id="password"
|
|
32
|
+
name="password"
|
|
33
|
+
aria-describedby="input-error-password"
|
|
34
|
+
[kcClass]="'kcInputClass'"
|
|
35
|
+
[required]="true"
|
|
36
|
+
[autofocus]="true"
|
|
37
|
+
[tabindex]="1"
|
|
38
|
+
/>
|
|
39
|
+
</kc-password-wrapper>
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
@if (messagesPerField.existsError('password')) {
|
|
42
|
+
<span
|
|
43
|
+
id="input-error-password"
|
|
44
|
+
aria-live="polite"
|
|
45
|
+
[kcClass]="'kcInputErrorMessageClass'"
|
|
46
|
+
[innerHTML]="messagesPerField.getFirstError('password') | kcSanitize: 'html'"
|
|
47
|
+
>
|
|
48
|
+
</span>
|
|
49
|
+
}
|
|
50
|
+
</div>
|
|
51
|
+
<div [kcClass]="['kcFormGroupClass', 'kcFormSettingClass']">
|
|
52
|
+
<div id="kc-form-options"></div>
|
|
53
|
+
<div [kcClass]="'kcFormOptionsWrapperClass'">
|
|
54
|
+
@if (realm.resetPasswordAllowed) {
|
|
55
|
+
<span>
|
|
56
|
+
<a
|
|
57
|
+
tabindex="5"
|
|
58
|
+
[href]="url.loginResetCredentialsUrl"
|
|
59
|
+
>
|
|
60
|
+
{{ i18n.msgStr('doForgotPassword') }}
|
|
61
|
+
</a>
|
|
48
62
|
</span>
|
|
49
63
|
}
|
|
50
64
|
</div>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
id="kc-form-buttons"
|
|
68
|
-
[kcClass]="'kcFormGroupClass'"
|
|
69
|
-
>
|
|
70
|
-
<input
|
|
71
|
-
type="submit"
|
|
72
|
-
id="kc-login"
|
|
73
|
-
name="login"
|
|
74
|
-
[value]="i18n.msgStr('doLogIn')"
|
|
75
|
-
[disabled]="isLoginButtonDisabled()"
|
|
76
|
-
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
|
|
77
|
-
[tabindex]="4"
|
|
78
|
-
/>
|
|
79
|
-
</div>
|
|
80
|
-
</form>
|
|
81
|
-
</div>
|
|
65
|
+
</div>
|
|
66
|
+
<div
|
|
67
|
+
id="kc-form-buttons"
|
|
68
|
+
[kcClass]="'kcFormGroupClass'"
|
|
69
|
+
>
|
|
70
|
+
<input
|
|
71
|
+
type="submit"
|
|
72
|
+
id="kc-login"
|
|
73
|
+
name="login"
|
|
74
|
+
[value]="i18n.msgStr('doLogIn')"
|
|
75
|
+
[disabled]="isLoginButtonDisabled()"
|
|
76
|
+
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
|
|
77
|
+
[tabindex]="4"
|
|
78
|
+
/>
|
|
79
|
+
</div>
|
|
80
|
+
</form>
|
|
82
81
|
</div>
|
|
83
|
-
</
|
|
82
|
+
</div>
|