mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-25 19:52:36 +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();"
|
||||
);
|
||||
|
||||
// disable qr code login
|
||||
content = content.replaceAll(/\w\?\(\d,\w\.jsx\)\(\w*\,{authTokenCallback:this\.handleAuthToken}\):null/g, "null");
|
||||
|
||||
return content;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user