Update user.dart
This commit is contained in:
parent
44398a3ef3
commit
c6344c00f0
1 changed files with 1 additions and 3 deletions
|
@ -26,9 +26,7 @@ configureServer(Db db) {
|
||||||
|
|
||||||
// Don't broadcast user events over WebSockets - they're sensitive data!
|
// Don't broadcast user events over WebSockets - they're sensitive data!
|
||||||
service.beforeAll((e) {
|
service.beforeAll((e) {
|
||||||
if (e.params == null)
|
e.params['broadcast'] = false;
|
||||||
e.params = {'broadcast': false};
|
|
||||||
else e.params['broadcast'] = false;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Validate new users, and also hash their passwords.
|
// Validate new users, and also hash their passwords.
|
||||||
|
|
Loading…
Reference in a new issue