diff --git a/src/index.ts b/src/index.ts index 2c4b7a5..4faa7d7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -117,7 +117,7 @@ async function run() { const retData = { success: false, } as IRetData; - const [username, password] = str.split(" "); + const [username, password] = str.split(/ (.+)/, 2); const data: any = { username, password,