Browse Source

can now setPassword on usernames with spaces

tags/perflog-2
Big Bad Waffle 5 years ago
parent
commit
fab8989bc8
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/server/components/extensions/socialCommands.js

+ 4
- 1
src/server/components/extensions/socialCommands.js View File

@@ -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({


Loading…
Cancel
Save