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.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
|
||||||
|
|
Loading…
Reference in a new issue