diff options
author | Puyodead1 <puyodead@proton.me> | 2022-12-22 01:03:12 -0500 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2022-12-22 01:03:12 -0500 |
commit | edf8fda03dc538e3aabc107645b4d5c0bd128170 (patch) | |
tree | 704778a18ae3cd5483f88236a0c89004796b1f68 | |
parent | Fix sync script not closing for some dbms (diff) | |
download | server-edf8fda03dc538e3aabc107645b4d5c0bd128170.tar.xz |
Update patcher to disable qr login
-rw-r--r-- | scripts/client.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/client.js b/scripts/client.js index f53e7634..cbbbcb6f 100644 --- a/scripts/client.js +++ b/scripts/client.js @@ -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; }; |