可信代码库-生产环境token覆盖问题解决
This commit is contained in:
@@ -50,7 +50,7 @@ onMounted(async() => {
|
||||
const signup_type = localStorage.getItem('cache_timeStamp') && localStorage.getItem('utm_source') ? '博客加速' : (sessionStorage.getItem('loginType') || '');
|
||||
const res = await getBindUserInfo(bindType as unknown as any, code as string, bindState as string, signup_type as string) as any;
|
||||
if (!res.error) {
|
||||
if (localStorage.getItem('access_token') && fromAtomGit) {
|
||||
if (localStorage.getItem('op_access_token') && fromAtomGit) {
|
||||
emitEvents('success', '', automgitPath);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user