fixes auth?

This commit is contained in:
2025-08-02 15:35:18 +02:00
parent 78dc7be703
commit b1deaee4e6
4 changed files with 36 additions and 7 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export default function SignInCallback() {
useEffect(() => {
userManager.signinCallback();
router.push("/");
router.push("/nominations");
}, []);
return <></>;
+1 -3
View File
@@ -44,9 +44,7 @@ export default function Page() {
className="w-full rounded bg-blue-500 px-4 py-2 text-center font-bold text-white hover:bg-blue-400"
onClick={() => void auth.signinRedirect()}
>
<Link href="/nominations" className="w-full">
Inloggen
</Link>
Inloggen
</button>
</div>
)}