diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-13 05:43:35 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-13 05:43:35 +0100 |
| commit | 54b4af27409fba0032faf4c8bed825ce2bc71cce (patch) | |
| tree | ea5699dfedc4e83805f3ebfca381ca4447376a84 | |
| parent | 7457589100e5b6b80de54290d6bfd98103c70c2a (diff) | |
san
| -rw-r--r-- | bucky/util/auth.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bucky/util/auth.js b/bucky/util/auth.js index 64b5f4c..3cc01f0 100644 --- a/bucky/util/auth.js +++ b/bucky/util/auth.js @@ -47,7 +47,7 @@ var auth = module.exports = { var username = util.sanitizeName(req.body.username) var data = { username: username, - realname: util.sanitizeName(req.body.realname), + realname: util.sanitize(req.body.realname), password: auth.makePassword(username, req.body.password), grass: util.sanitizeName(req.body.grass), firstseen: util.now(), |
