mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 16:16:39 +08:00
测试增加邮件认证-debug
This commit is contained in:
parent
c84e223ca5
commit
f34375f13b
@ -44,11 +44,9 @@ export default function UserLoginButton() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
console.log("------1", result);
|
if (!result?.error) {
|
||||||
// if (!result?.error) {
|
window.location.href = result?.url || "/";
|
||||||
// console.log('------2',result)
|
} else setError(true);
|
||||||
// window.location.href = result?.url || "/";
|
|
||||||
// } else setError(true);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user