Commit fab8989b authored by Big Bad Waffle's avatar Big Bad Waffle

can now setPassword on usernames with spaces

parent 67776ffe
......@@ -568,7 +568,10 @@ module.exports = {
setPassword: async function (config) {
let keys = Object.keys(config);
let username = keys[0];
let username = keys[0]
.split('_')
.join(' ');
let hashedPassword = keys[1];
await io.setAsync({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment