Update user.dart

This commit is contained in:
Tobe O 2017-04-11 14:42:46 -04:00 committed by GitHub
parent f14336535f
commit f8faa3c50b

View file

@ -24,11 +24,6 @@ configureServer(Db db) {
HookedServiceEvent.REMOVED
], hooks.disable());
// Don't broadcast user events over WebSockets - they're sensitive data!
service.beforeAll((e) {
e.params['broadcast'] = false;
});
// Validate new users, and also hash their passwords.
service.beforeCreated
// ..listen(validateEvent(CREATE_USER))