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