mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
测试增加邮件认证-debug-2
This commit is contained in:
parent
e692b34093
commit
f2a0a34f0d
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user