@@ -145,59 +152,9 @@ export function LoginForm() {
);
}
- return (
-
+ ) : (
+
+ Fehler
+ {error}
+
+ )}
+ >
+ );
+ }
+
+ if (autoOidcRedirect === '1') {
+ return null;
+ }
+
+ return (
+ <>
+ {alternativeLoginMethods.length > 0 ? (
+ <>
+
+ {alternativeLoginMethods.map((method, i) => (
+
+ ))}
+
+ >
+ ) : null}
+ >
);
}
diff --git a/apps/web/src/app/[locale]/(auth)/login/page.tsx b/apps/web/src/app/[locale]/(auth)/login/page.tsx
index 10caefed979..28d6c85a88a 100644
--- a/apps/web/src/app/[locale]/(auth)/login/page.tsx
+++ b/apps/web/src/app/[locale]/(auth)/login/page.tsx
@@ -13,16 +13,6 @@ export default async function LoginPage({ params }: { params: Params }) {
-
- ,
- }}
- />
-
);
}
diff --git a/apps/web/src/app/[locale]/(auth)/register/page.tsx b/apps/web/src/app/[locale]/(auth)/register/page.tsx
deleted file mode 100644
index ffab0cecde4..00000000000
--- a/apps/web/src/app/[locale]/(auth)/register/page.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import { RegisterForm } from "@/app/[locale]/(auth)/register/register-page";
-import { Params } from "@/app/[locale]/types";
-import { getTranslation } from "@/app/i18n";
-
-export default async function Page() {
- return