Update user.dart
This commit is contained in:
parent
f14336535f
commit
f8faa3c50b
1 changed files with 0 additions and 5 deletions
|
@ -23,11 +23,6 @@ configureServer(Db db) {
|
|||
HookedServiceEvent.UPDATED,
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue