Update apps/login/src/app/(login)/idp/[provider]/success/page.tsx

This commit is contained in:
Elio Bischof
2024-12-27 12:13:07 +01:00
committed by GitHub
parent d8532140bc
commit 36187ecdc4

View File

@@ -74,6 +74,7 @@ export default async function Page(props: {
if (link) { if (link) {
if (!options?.isLinkingAllowed) { if (!options?.isLinkingAllowed) {
// linking was probably disallowed since the invitation was created
return linkingFailed(branding, "Linking is no longer allowed"); return linkingFailed(branding, "Linking is no longer allowed");
} }