mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-20 03:27:47 +00:00
remove unnec initializer
This commit is contained in:
@@ -3,10 +3,7 @@ import { getLocale, getTranslations } from "next-intl/server";
|
|||||||
import { Alert, AlertType } from "../../alert";
|
import { Alert, AlertType } from "../../alert";
|
||||||
import { DynamicTheme } from "../../dynamic-theme";
|
import { DynamicTheme } from "../../dynamic-theme";
|
||||||
|
|
||||||
export async function loginFailed(
|
export async function loginFailed(branding?: BrandingSettings, error?: string) {
|
||||||
branding?: BrandingSettings,
|
|
||||||
error: string = "",
|
|
||||||
) {
|
|
||||||
const locale = getLocale();
|
const locale = getLocale();
|
||||||
const t = await getTranslations({ locale, namespace: "idp" });
|
const t = await getTranslations({ locale, namespace: "idp" });
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user