This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
Browse Source
can now setPassword on usernames with spaces
tags/perflog-2
Big Bad Waffle
5 years ago
parent
67776ffebc
commit
fab8989bc8
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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({
Write
Preview
Loading…
Cancel
Save