Merge pull request #918 from Puyodead1/refactor/patch/disable-qr-login

[Refactor] Disable QR Login in Test client
This commit is contained in:
Madeline
2022-12-22 18:28:59 +11:00
committed by GitHub

View File

@@ -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;
};