remove unnec initializer

This commit is contained in:
Max Peintner
2024-12-24 11:40:37 +01:00
parent 0546a1c06e
commit d59b2ed612

View File

@@ -3,10 +3,7 @@ import { getLocale, getTranslations } from "next-intl/server";
import { Alert, AlertType } from "../../alert";
import { DynamicTheme } from "../../dynamic-theme";
export async function loginFailed(
branding?: BrandingSettings,
error: string = "",
) {
export async function loginFailed(branding?: BrandingSettings, error?: string) {
const locale = getLocale();
const t = await getTranslations({ locale, namespace: "idp" });