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

@ -23,11 +23,6 @@ configureServer(Db db) {
HookedServiceEvent.UPDATED, HookedServiceEvent.UPDATED,
HookedServiceEvent.REMOVED HookedServiceEvent.REMOVED
], hooks.disable()); ], 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. // Validate new users, and also hash their passwords.
service.beforeCreated service.beforeCreated