mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 08:23:16 +00:00
register page cleanup
This commit is contained in:
@@ -22,7 +22,7 @@ async function loginFailed(branding?: BrandingSettings, error: string = "") {
|
|||||||
<DynamicTheme branding={branding}>
|
<DynamicTheme branding={branding}>
|
||||||
<div className="flex flex-col items-center space-y-4">
|
<div className="flex flex-col items-center space-y-4">
|
||||||
<h1>{t("loginError.title")}</h1>
|
<h1>{t("loginError.title")}</h1>
|
||||||
<p className="ztdl-p">{t("loginError.title")}</p>
|
<p className="ztdl-p">{t("loginError.description")}</p>
|
||||||
{error && (
|
{error && (
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
{<Alert type={AlertType.ALERT}>{error}</Alert>}
|
{<Alert type={AlertType.ALERT}>{error}</Alert>}
|
||||||
@@ -199,7 +199,12 @@ export default async function Page(props: {
|
|||||||
<DynamicTheme branding={branding}>
|
<DynamicTheme branding={branding}>
|
||||||
<div className="flex flex-col items-center space-y-4">
|
<div className="flex flex-col items-center space-y-4">
|
||||||
<h1>{t("registerSuccess.title")}</h1>
|
<h1>{t("registerSuccess.title")}</h1>
|
||||||
<div>{t("registerSuccess.description")}</div>
|
<p className="ztdl-p">{t("registerSuccess.description")}</p>
|
||||||
|
<IdpSignin
|
||||||
|
userId={newUser.userId}
|
||||||
|
idpIntent={{ idpIntentId: id, idpIntentToken: token }}
|
||||||
|
authRequestId={authRequestId}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</DynamicTheme>
|
</DynamicTheme>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user