no need for double trim :P

v1.18.x
barisusakli 10 years ago
parent 5be1c17aa7
commit 0fba1e37a7

@ -28,7 +28,7 @@ module.exports = function(User) {
var timestamp = Date.now();
var userData = {
'username': data.username.trim(),
'username': data.username,
'userslug': data.userslug,
'email': data.email,
'joindate': timestamp,

Loading…
Cancel
Save