Add login-reset-otp.ftl page

This commit is contained in:
Joseph Garrone
2024-05-11 16:57:41 +02:00
parent 9001e254cc
commit c80c399e6b
4 changed files with 88 additions and 2 deletions

View File

@ -41,7 +41,8 @@ export type KcContext =
| KcContext.DeleteAccountConfirm
| KcContext.FrontchannelLogout
| KcContext.LoginRecoveryAuthnCodeConfig
| KcContext.LoginRecoveryAuthnCodeInput;
| KcContext.LoginRecoveryAuthnCodeInput
| KcContext.LoginResetOtp;
assert<KcContext["themeType"] extends ThemeType ? true : false>();
@ -546,6 +547,17 @@ export declare namespace KcContext {
codeNumber: number;
};
};
export type LoginResetOtp = Common & {
pageId: "login-reset-otp.ftl";
configuredOtpCredentials: {
userOtpCredentials: {
id: string;
userLabel: string;
}[];
selectedCredentialId: string;
};
};
}
export type UserProfile = {