Update user.dart

This commit is contained in:
Tobe O 2017-04-11 14:40:06 -04:00 committed by GitHub
parent 77c728dd7d
commit f14336535f

View file

@ -31,7 +31,7 @@ configureServer(Db db) {
// Validate new users, and also hash their passwords. // Validate new users, and also hash their passwords.
service.beforeCreated service.beforeCreated
..listen(validateEvent(CREATE_USER)) // ..listen(validateEvent(CREATE_USER))
..listen((e) { ..listen((e) {
var salt = rs.randomAlphaNumeric(12); var salt = rs.randomAlphaNumeric(12);
e.data e.data