forked from administration/panel
fix: render account page without `authifier` perm
parent
3104c57db7
commit
0cbe4933f8
|
@ -8,7 +8,7 @@ import { fetchAuthifierEmailClassification } from "@/lib/db";
|
|||
|
||||
export async function EmailClassificationCard({ email }: { email: string }) {
|
||||
const provider = email.split("@").pop() ?? "";
|
||||
const providerInfo = await fetchAuthifierEmailClassification(provider);
|
||||
const providerInfo = await fetchAuthifierEmailClassification(provider).catch(() => null);
|
||||
if (!providerInfo) return null;
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue