diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-22 18:28:59 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-22 18:28:59 +1100 |
commit | 11f75c4a2b51e33359f1815431ca0a297744e8bd (patch) | |
tree | 704778a18ae3cd5483f88236a0c89004796b1f68 | |
parent | Fix sync script not closing for some dbms (diff) | |
parent | Update patcher to disable qr login (diff) | |
download | server-11f75c4a2b51e33359f1815431ca0a297744e8bd.tar.xz |
Merge pull request #918 from Puyodead1/refactor/patch/disable-qr-login
[Refactor] Disable QR Login in Test client
-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; }; |