Update user.dart
This commit is contained in:
parent
77c728dd7d
commit
f14336535f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue