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

[Refactor] Disable QR Login in Test client
This commit is contained in:
Madeline authored and GitHub committed 2022-12-22 18:28:59 +11:00
commit a2304792a2
1 file changed
+3
+3
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;
};