mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 04:32:35 +01:00
Update patcher to disable qr login
This commit is contained in:
parent
a3630fdba4
commit
9be9bad431
@ -135,6 +135,9 @@ const doPatch = (content) => {
|
|||||||
"e.isFastConnect=t; if (t !== undefined) e._doResumeOrIdentify();"
|
"e.isFastConnect=t; if (t !== undefined) e._doResumeOrIdentify();"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// disable qr code login
|
||||||
|
content = content.replaceAll(/\w\?\(\d,\w\.jsx\)\(\w*\,{authTokenCallback:this\.handleAuthToken}\):null/g, "null");
|
||||||
|
|
||||||
return content;
|
return content;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user