Allow for passwords that contain spaces, fix #15
This commit is contained in:
parent
c57093f69b
commit
cacb1599e3
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue