测试增加邮件认证-debug-2

This commit is contained in:
sijinhui 2024-03-22 16:19:41 +08:00
parent e692b34093
commit f2a0a34f0d

View File

@ -43,9 +43,11 @@ export default function UserLoginButton() {
redirect: false,
});
}
console.log("0000000000000", result);
setLoading(false);
if (!result?.error) {
window.location.href = result?.url || "/";
window.location.href =
result?.url && result.url.includes("verify") ? result.url : "/";
} else setError(true);
};