mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 10:12:25 +00:00
Update patcher to disable qr login
This commit is contained in:
1 parent
2ec59d2ff2
commit
edf8fda03d
1 file changed
+3
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user