summaryrefslogtreecommitdiff
path: root/bucky/util
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-13 05:43:35 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-13 05:43:35 +0100
commit54b4af27409fba0032faf4c8bed825ce2bc71cce (patch)
treeea5699dfedc4e83805f3ebfca381ca4447376a84 /bucky/util
parent7457589100e5b6b80de54290d6bfd98103c70c2a (diff)
san
Diffstat (limited to 'bucky/util')
-rw-r--r--bucky/util/auth.js2
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(),