keycloakify 6.3.5 → 6.4.0
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 +6 -0
- package/lib/components/Error.d.ts +2 -1
- package/lib/components/Error.js +2 -2
- package/lib/components/Error.js.map +1 -1
- package/lib/components/IdpReviewUserProfile.d.ts +2 -1
- package/lib/components/IdpReviewUserProfile.js +2 -2
- package/lib/components/IdpReviewUserProfile.js.map +1 -1
- package/lib/components/Info.d.ts +2 -1
- package/lib/components/Info.js +2 -2
- package/lib/components/Info.js.map +1 -1
- package/lib/components/KcApp.d.ts +1 -0
- package/lib/components/KcApp.js.map +1 -1
- package/lib/components/Login.d.ts +2 -1
- package/lib/components/Login.js +2 -2
- package/lib/components/Login.js.map +1 -1
- package/lib/components/LoginConfigTotp.d.ts +2 -1
- package/lib/components/LoginConfigTotp.js +2 -2
- package/lib/components/LoginConfigTotp.js.map +1 -1
- package/lib/components/LoginIdpLinkConfirm.d.ts +2 -1
- package/lib/components/LoginIdpLinkConfirm.js +2 -2
- package/lib/components/LoginIdpLinkConfirm.js.map +1 -1
- package/lib/components/LoginIdpLinkEmail.d.ts +2 -1
- package/lib/components/LoginIdpLinkEmail.js +2 -2
- package/lib/components/LoginIdpLinkEmail.js.map +1 -1
- package/lib/components/LoginOtp.d.ts +2 -1
- package/lib/components/LoginOtp.js +2 -2
- package/lib/components/LoginOtp.js.map +1 -1
- package/lib/components/LoginPageExpired.d.ts +2 -1
- package/lib/components/LoginPageExpired.js +2 -2
- package/lib/components/LoginPageExpired.js.map +1 -1
- package/lib/components/LoginResetPassword.d.ts +2 -1
- package/lib/components/LoginResetPassword.js +2 -2
- package/lib/components/LoginResetPassword.js.map +1 -1
- package/lib/components/LoginUpdatePassword.d.ts +2 -1
- package/lib/components/LoginUpdatePassword.js +2 -2
- package/lib/components/LoginUpdatePassword.js.map +1 -1
- package/lib/components/LoginUpdateProfile.d.ts +2 -1
- package/lib/components/LoginUpdateProfile.js +2 -2
- package/lib/components/LoginUpdateProfile.js.map +1 -1
- package/lib/components/LoginVerifyEmail.d.ts +2 -1
- package/lib/components/LoginVerifyEmail.js +2 -2
- package/lib/components/LoginVerifyEmail.js.map +1 -1
- package/lib/components/LogoutConfirm.d.ts +2 -1
- package/lib/components/LogoutConfirm.js +2 -2
- package/lib/components/LogoutConfirm.js.map +1 -1
- package/lib/components/Register.d.ts +2 -1
- package/lib/components/Register.js +2 -2
- package/lib/components/Register.js.map +1 -1
- package/lib/components/RegisterUserProfile.d.ts +2 -1
- package/lib/components/RegisterUserProfile.js +2 -2
- package/lib/components/RegisterUserProfile.js.map +1 -1
- package/lib/components/Terms.d.ts +2 -1
- package/lib/components/Terms.js +2 -2
- package/lib/components/Terms.js.map +1 -1
- package/lib/components/UpdateUserProfile.d.ts +2 -1
- package/lib/components/UpdateUserProfile.js +2 -2
- package/lib/components/UpdateUserProfile.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/lib/components/Error.tsx +30 -24
- package/src/lib/components/IdpReviewUserProfile.tsx +41 -30
- package/src/lib/components/Info.tsx +41 -35
- package/src/lib/components/KcApp.tsx +64 -58
- package/src/lib/components/Login.tsx +174 -166
- package/src/lib/components/LoginConfigTotp.tsx +158 -152
- package/src/lib/components/LoginIdpLinkConfirm.tsx +42 -36
- package/src/lib/components/LoginIdpLinkEmail.tsx +30 -24
- package/src/lib/components/LoginOtp.tsx +75 -64
- package/src/lib/components/LoginPageExpired.tsx +34 -28
- package/src/lib/components/LoginResetPassword.tsx +63 -52
- package/src/lib/components/LoginUpdatePassword.tsx +101 -95
- package/src/lib/components/LoginUpdateProfile.tsx +103 -91
- package/src/lib/components/LoginVerifyEmail.tsx +30 -24
- package/src/lib/components/LogoutConfirm.tsx +53 -47
- package/src/lib/components/Register.tsx +126 -115
- package/src/lib/components/RegisterUserProfile.tsx +59 -48
- package/src/lib/components/Terms.tsx +51 -45
- package/src/lib/components/UpdateUserProfile.tsx +57 -51
@@ -7,84 +7,95 @@ import { pathJoin } from "../../bin/tools/pathJoin";
|
|
7
7
|
import { useCssAndCx } from "../tools/useCssAndCx";
|
8
8
|
import type { I18n } from "../i18n";
|
9
9
|
|
10
|
-
const LoginOtp = memo(
|
11
|
-
|
10
|
+
const LoginOtp = memo(
|
11
|
+
({
|
12
|
+
kcContext,
|
13
|
+
i18n,
|
14
|
+
doFetchDefaultThemeResources = true,
|
15
|
+
...props
|
16
|
+
}: { kcContext: KcContextBase.LoginOtp; i18n: I18n; doFetchDefaultThemeResources?: boolean } & KcProps) => {
|
17
|
+
const { otpLogin, url } = kcContext;
|
12
18
|
|
13
|
-
|
19
|
+
const { cx } = useCssAndCx();
|
14
20
|
|
15
|
-
|
21
|
+
const { msg, msgStr } = i18n;
|
16
22
|
|
17
|
-
|
18
|
-
|
23
|
+
useEffect(() => {
|
24
|
+
let isCleanedUp = false;
|
19
25
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
26
|
+
headInsert({
|
27
|
+
"type": "javascript",
|
28
|
+
"src": pathJoin(kcContext.url.resourcesCommonPath, "node_modules/jquery/dist/jquery.min.js")
|
29
|
+
}).then(() => {
|
30
|
+
if (isCleanedUp) return;
|
25
31
|
|
26
|
-
|
27
|
-
|
32
|
+
evaluateInlineScript();
|
33
|
+
});
|
28
34
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
35
|
+
return () => {
|
36
|
+
isCleanedUp = true;
|
37
|
+
};
|
38
|
+
}, []);
|
33
39
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
40
|
+
return (
|
41
|
+
<Template
|
42
|
+
{...{ kcContext, i18n, doFetchDefaultThemeResources, ...props }}
|
43
|
+
headerNode={msg("doLogIn")}
|
44
|
+
formNode={
|
45
|
+
<form id="kc-otp-login-form" className={cx(props.kcFormClass)} action={url.loginAction} method="post">
|
46
|
+
{otpLogin.userOtpCredentials.length > 1 && (
|
47
|
+
<div className={cx(props.kcFormGroupClass)}>
|
48
|
+
<div className={cx(props.kcInputWrapperClass)}>
|
49
|
+
{otpLogin.userOtpCredentials.map(otpCredential => (
|
50
|
+
<div key={otpCredential.id} className={cx(props.kcSelectOTPListClass)}>
|
51
|
+
<input type="hidden" value="${otpCredential.id}" />
|
52
|
+
<div className={cx(props.kcSelectOTPListItemClass)}>
|
53
|
+
<span className={cx(props.kcAuthenticatorOtpCircleClass)} />
|
54
|
+
<h2 className={cx(props.kcSelectOTPItemHeadingClass)}>{otpCredential.userLabel}</h2>
|
55
|
+
</div>
|
50
56
|
</div>
|
51
|
-
|
52
|
-
|
57
|
+
))}
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
)}
|
61
|
+
<div className={cx(props.kcFormGroupClass)}>
|
62
|
+
<div className={cx(props.kcLabelWrapperClass)}>
|
63
|
+
<label htmlFor="otp" className={cx(props.kcLabelClass)}>
|
64
|
+
{msg("loginOtpOneTime")}
|
65
|
+
</label>
|
53
66
|
</div>
|
54
|
-
</div>
|
55
|
-
)}
|
56
|
-
<div className={cx(props.kcFormGroupClass)}>
|
57
|
-
<div className={cx(props.kcLabelWrapperClass)}>
|
58
|
-
<label htmlFor="otp" className={cx(props.kcLabelClass)}>
|
59
|
-
{msg("loginOtpOneTime")}
|
60
|
-
</label>
|
61
|
-
</div>
|
62
67
|
|
63
|
-
|
64
|
-
|
68
|
+
<div className={cx(props.kcInputWrapperClass)}>
|
69
|
+
<input id="otp" name="otp" autoComplete="off" type="text" className={cx(props.kcInputClass)} autoFocus />
|
70
|
+
</div>
|
65
71
|
</div>
|
66
|
-
</div>
|
67
72
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
73
|
+
<div className={cx(props.kcFormGroupClass)}>
|
74
|
+
<div id="kc-form-options" className={cx(props.kcFormOptionsClass)}>
|
75
|
+
<div className={cx(props.kcFormOptionsWrapperClass)} />
|
76
|
+
</div>
|
72
77
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
78
|
+
<div id="kc-form-buttons" className={cx(props.kcFormButtonsClass)}>
|
79
|
+
<input
|
80
|
+
className={cx(
|
81
|
+
props.kcButtonClass,
|
82
|
+
props.kcButtonPrimaryClass,
|
83
|
+
props.kcButtonBlockClass,
|
84
|
+
props.kcButtonLargeClass
|
85
|
+
)}
|
86
|
+
name="login"
|
87
|
+
id="kc-login"
|
88
|
+
type="submit"
|
89
|
+
value={msgStr("doLogIn")}
|
90
|
+
/>
|
91
|
+
</div>
|
81
92
|
</div>
|
82
|
-
</
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
93
|
+
</form>
|
94
|
+
}
|
95
|
+
/>
|
96
|
+
);
|
97
|
+
}
|
98
|
+
);
|
88
99
|
|
89
100
|
declare const $: any;
|
90
101
|
|
@@ -4,35 +4,41 @@ import type { KcProps } from "./KcProps";
|
|
4
4
|
import type { KcContextBase } from "../getKcContext/KcContextBase";
|
5
5
|
import type { I18n } from "../i18n";
|
6
6
|
|
7
|
-
const LoginPageExpired = memo(
|
8
|
-
|
7
|
+
const LoginPageExpired = memo(
|
8
|
+
({
|
9
|
+
kcContext,
|
10
|
+
i18n,
|
11
|
+
doFetchDefaultThemeResources = true,
|
12
|
+
...props
|
13
|
+
}: { kcContext: KcContextBase.LoginPageExpired; i18n: I18n; doFetchDefaultThemeResources?: boolean } & KcProps) => {
|
14
|
+
const { url } = kcContext;
|
9
15
|
|
10
|
-
|
16
|
+
const { msg } = i18n;
|
11
17
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
{
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
{
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
18
|
+
return (
|
19
|
+
<Template
|
20
|
+
{...{ kcContext, i18n, doFetchDefaultThemeResources, ...props }}
|
21
|
+
displayMessage={false}
|
22
|
+
headerNode={msg("pageExpiredTitle")}
|
23
|
+
formNode={
|
24
|
+
<>
|
25
|
+
<p id="instruction1" className="instruction">
|
26
|
+
{msg("pageExpiredMsg1")}
|
27
|
+
<a id="loginRestartLink" href={url.loginRestartFlowUrl}>
|
28
|
+
{msg("doClickHere")}
|
29
|
+
</a>{" "}
|
30
|
+
.<br />
|
31
|
+
{msg("pageExpiredMsg2")}{" "}
|
32
|
+
<a id="loginContinueLink" href={url.loginAction}>
|
33
|
+
{msg("doClickHere")}
|
34
|
+
</a>{" "}
|
35
|
+
.
|
36
|
+
</p>
|
37
|
+
</>
|
38
|
+
}
|
39
|
+
/>
|
40
|
+
);
|
41
|
+
}
|
42
|
+
);
|
37
43
|
|
38
44
|
export default LoginPageExpired;
|
@@ -5,64 +5,75 @@ import type { KcContextBase } from "../getKcContext/KcContextBase";
|
|
5
5
|
import { useCssAndCx } from "../tools/useCssAndCx";
|
6
6
|
import type { I18n } from "../i18n";
|
7
7
|
|
8
|
-
const LoginResetPassword = memo(
|
9
|
-
|
8
|
+
const LoginResetPassword = memo(
|
9
|
+
({
|
10
|
+
kcContext,
|
11
|
+
i18n,
|
12
|
+
doFetchDefaultThemeResources = true,
|
13
|
+
...props
|
14
|
+
}: { kcContext: KcContextBase.LoginResetPassword; i18n: I18n; doFetchDefaultThemeResources?: boolean } & KcProps) => {
|
15
|
+
const { url, realm, auth } = kcContext;
|
10
16
|
|
11
|
-
|
17
|
+
const { msg, msgStr } = i18n;
|
12
18
|
|
13
|
-
|
19
|
+
const { cx } = useCssAndCx();
|
14
20
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
</
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
/>
|
42
|
-
</div>
|
43
|
-
</div>
|
44
|
-
<div className={cx(props.kcFormGroupClass, props.kcFormSettingClass)}>
|
45
|
-
<div id="kc-form-options" className={cx(props.kcFormOptionsClass)}>
|
46
|
-
<div className={cx(props.kcFormOptionsWrapperClass)}>
|
47
|
-
<span>
|
48
|
-
<a href={url.loginUrl}>{msg("backToLogin")}</a>
|
49
|
-
</span>
|
21
|
+
return (
|
22
|
+
<Template
|
23
|
+
{...{ kcContext, i18n, doFetchDefaultThemeResources, ...props }}
|
24
|
+
displayMessage={false}
|
25
|
+
headerNode={msg("emailForgotTitle")}
|
26
|
+
formNode={
|
27
|
+
<form id="kc-reset-password-form" className={cx(props.kcFormClass)} action={url.loginAction} method="post">
|
28
|
+
<div className={cx(props.kcFormGroupClass)}>
|
29
|
+
<div className={cx(props.kcLabelWrapperClass)}>
|
30
|
+
<label htmlFor="username" className={cx(props.kcLabelClass)}>
|
31
|
+
{!realm.loginWithEmailAllowed
|
32
|
+
? msg("username")
|
33
|
+
: !realm.registrationEmailAsUsername
|
34
|
+
? msg("usernameOrEmail")
|
35
|
+
: msg("email")}
|
36
|
+
</label>
|
37
|
+
</div>
|
38
|
+
<div className={cx(props.kcInputWrapperClass)}>
|
39
|
+
<input
|
40
|
+
type="text"
|
41
|
+
id="username"
|
42
|
+
name="username"
|
43
|
+
className={cx(props.kcInputClass)}
|
44
|
+
autoFocus
|
45
|
+
defaultValue={auth !== undefined && auth.showUsername ? auth.attemptedUsername : undefined}
|
46
|
+
/>
|
50
47
|
</div>
|
51
48
|
</div>
|
49
|
+
<div className={cx(props.kcFormGroupClass, props.kcFormSettingClass)}>
|
50
|
+
<div id="kc-form-options" className={cx(props.kcFormOptionsClass)}>
|
51
|
+
<div className={cx(props.kcFormOptionsWrapperClass)}>
|
52
|
+
<span>
|
53
|
+
<a href={url.loginUrl}>{msg("backToLogin")}</a>
|
54
|
+
</span>
|
55
|
+
</div>
|
56
|
+
</div>
|
52
57
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
58
|
+
<div id="kc-form-buttons" className={cx(props.kcFormButtonsClass)}>
|
59
|
+
<input
|
60
|
+
className={cx(
|
61
|
+
props.kcButtonClass,
|
62
|
+
props.kcButtonPrimaryClass,
|
63
|
+
props.kcButtonBlockClass,
|
64
|
+
props.kcButtonLargeClass
|
65
|
+
)}
|
66
|
+
type="submit"
|
67
|
+
value={msgStr("doSubmit")}
|
68
|
+
/>
|
69
|
+
</div>
|
59
70
|
</div>
|
60
|
-
</
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
71
|
+
</form>
|
72
|
+
}
|
73
|
+
infoNode={msg("emailInstruction")}
|
74
|
+
/>
|
75
|
+
);
|
76
|
+
}
|
77
|
+
);
|
67
78
|
|
68
79
|
export default LoginResetPassword;
|
@@ -5,115 +5,121 @@ import type { KcContextBase } from "../getKcContext/KcContextBase";
|
|
5
5
|
import { useCssAndCx } from "../tools/useCssAndCx";
|
6
6
|
import type { I18n } from "../i18n";
|
7
7
|
|
8
|
-
const LoginUpdatePassword = memo(
|
9
|
-
|
8
|
+
const LoginUpdatePassword = memo(
|
9
|
+
({
|
10
|
+
kcContext,
|
11
|
+
i18n,
|
12
|
+
doFetchDefaultThemeResources = true,
|
13
|
+
...props
|
14
|
+
}: { kcContext: KcContextBase.LoginUpdatePassword; i18n: I18n; doFetchDefaultThemeResources?: boolean } & KcProps) => {
|
15
|
+
const { cx } = useCssAndCx();
|
10
16
|
|
11
|
-
|
17
|
+
const { msg, msgStr } = i18n;
|
12
18
|
|
13
|
-
|
19
|
+
const { url, messagesPerField, isAppInitiatedAction, username } = kcContext;
|
14
20
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
<input type="password" id="password" name="password" autoComplete="current-password" style={{ display: "none" }} />
|
21
|
+
return (
|
22
|
+
<Template
|
23
|
+
{...{ kcContext, i18n, doFetchDefaultThemeResources, ...props }}
|
24
|
+
headerNode={msg("updatePasswordTitle")}
|
25
|
+
formNode={
|
26
|
+
<form id="kc-passwd-update-form" className={cx(props.kcFormClass)} action={url.loginAction} method="post">
|
27
|
+
<input
|
28
|
+
type="text"
|
29
|
+
id="username"
|
30
|
+
name="username"
|
31
|
+
value={username}
|
32
|
+
readOnly={true}
|
33
|
+
autoComplete="username"
|
34
|
+
style={{ display: "none" }}
|
35
|
+
/>
|
36
|
+
<input type="password" id="password" name="password" autoComplete="current-password" style={{ display: "none" }} />
|
32
37
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
38
|
+
<div className={cx(props.kcFormGroupClass, messagesPerField.printIfExists("password", props.kcFormGroupErrorClass))}>
|
39
|
+
<div className={cx(props.kcLabelWrapperClass)}>
|
40
|
+
<label htmlFor="password-new" className={cx(props.kcLabelClass)}>
|
41
|
+
{msg("passwordNew")}
|
42
|
+
</label>
|
43
|
+
</div>
|
44
|
+
<div className={cx(props.kcInputWrapperClass)}>
|
45
|
+
<input
|
46
|
+
type="password"
|
47
|
+
id="password-new"
|
48
|
+
name="password-new"
|
49
|
+
autoFocus
|
50
|
+
autoComplete="new-password"
|
51
|
+
className={cx(props.kcInputClass)}
|
52
|
+
/>
|
53
|
+
</div>
|
48
54
|
</div>
|
49
|
-
</div>
|
50
55
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
56
|
+
<div className={cx(props.kcFormGroupClass, messagesPerField.printIfExists("password-confirm", props.kcFormGroupErrorClass))}>
|
57
|
+
<div className={cx(props.kcLabelWrapperClass)}>
|
58
|
+
<label htmlFor="password-confirm" className={cx(props.kcLabelClass)}>
|
59
|
+
{msg("passwordConfirm")}
|
60
|
+
</label>
|
61
|
+
</div>
|
62
|
+
<div className={cx(props.kcInputWrapperClass)}>
|
63
|
+
<input
|
64
|
+
type="password"
|
65
|
+
id="password-confirm"
|
66
|
+
name="password-confirm"
|
67
|
+
autoComplete="new-password"
|
68
|
+
className={cx(props.kcInputClass)}
|
69
|
+
/>
|
70
|
+
</div>
|
65
71
|
</div>
|
66
|
-
</div>
|
67
72
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
73
|
+
<div className={cx(props.kcFormGroupClass)}>
|
74
|
+
<div id="kc-form-options" className={cx(props.kcFormOptionsClass)}>
|
75
|
+
<div className={cx(props.kcFormOptionsWrapperClass)}>
|
76
|
+
{isAppInitiatedAction && (
|
77
|
+
<div className="checkbox">
|
78
|
+
<label>
|
79
|
+
<input type="checkbox" id="logout-sessions" name="logout-sessions" value="on" checked />
|
80
|
+
{msgStr("logoutOtherSessions")}
|
81
|
+
</label>
|
82
|
+
</div>
|
83
|
+
)}
|
84
|
+
</div>
|
79
85
|
</div>
|
80
|
-
</div>
|
81
86
|
|
82
|
-
|
83
|
-
|
84
|
-
|
87
|
+
<div id="kc-form-buttons" className={cx(props.kcFormButtonsClass)}>
|
88
|
+
{isAppInitiatedAction ? (
|
89
|
+
<>
|
90
|
+
<input
|
91
|
+
className={cx(props.kcButtonClass, props.kcButtonPrimaryClass, props.kcButtonLargeClass)}
|
92
|
+
type="submit"
|
93
|
+
defaultValue={msgStr("doSubmit")}
|
94
|
+
/>
|
95
|
+
<button
|
96
|
+
className={cx(props.kcButtonClass, props.kcButtonDefaultClass, props.kcButtonLargeClass)}
|
97
|
+
type="submit"
|
98
|
+
name="cancel-aia"
|
99
|
+
value="true"
|
100
|
+
>
|
101
|
+
{msg("doCancel")}
|
102
|
+
</button>
|
103
|
+
</>
|
104
|
+
) : (
|
85
105
|
<input
|
86
|
-
className={cx(
|
106
|
+
className={cx(
|
107
|
+
props.kcButtonClass,
|
108
|
+
props.kcButtonPrimaryClass,
|
109
|
+
props.kcButtonBlockClass,
|
110
|
+
props.kcButtonLargeClass
|
111
|
+
)}
|
87
112
|
type="submit"
|
88
113
|
defaultValue={msgStr("doSubmit")}
|
89
114
|
/>
|
90
|
-
|
91
|
-
|
92
|
-
type="submit"
|
93
|
-
name="cancel-aia"
|
94
|
-
value="true"
|
95
|
-
>
|
96
|
-
{msg("doCancel")}
|
97
|
-
</button>
|
98
|
-
</>
|
99
|
-
) : (
|
100
|
-
<input
|
101
|
-
className={cx(
|
102
|
-
props.kcButtonClass,
|
103
|
-
props.kcButtonPrimaryClass,
|
104
|
-
props.kcButtonBlockClass,
|
105
|
-
props.kcButtonLargeClass
|
106
|
-
)}
|
107
|
-
type="submit"
|
108
|
-
defaultValue={msgStr("doSubmit")}
|
109
|
-
/>
|
110
|
-
)}
|
115
|
+
)}
|
116
|
+
</div>
|
111
117
|
</div>
|
112
|
-
</
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
+
</form>
|
119
|
+
}
|
120
|
+
/>
|
121
|
+
);
|
122
|
+
}
|
123
|
+
);
|
118
124
|
|
119
125
|
export default LoginUpdatePassword;
|