Fix the "Sign in with SAML" button on the login page (#5089)

* Remove the unused component

* Fix the login with SAML
This commit is contained in:
Kiran K authored and GitHub committed 2022-10-19 09:50:25 -06:00
1 parent 1427c8e792
commit 9e85770435
4 files changed
+122 -175

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ export const samlTenantProduct = async (prisma: PrismaClient, email: string) =>
if (!user) {
throw new TRPCError({
code: "UNAUTHORIZED",
message: "Unauthorized Request",
message: "no_account_exists",
});
}