enable email verification by admin (#1348)
authorJosh Morel <morel.josh@hotmail.com>
Wed, 21 Nov 2018 07:48:29 +0000 (02:48 -0500)
committerChocobozzz <me@florianbigard.com>
Wed, 21 Nov 2018 07:48:29 +0000 (08:48 +0100)
commitfc2ec87a8c4dcfbb91a1a62cf4c07a2a8e6a50fe
treea2cea5e299c5f1a731da99277949ea2f0bb35659
parent04b8c3fba614efc3827f583096c78b08cb668470
enable email verification by admin (#1348)

* enable email verification by admin

* rename/label to set email as verified

to be more explicit that admin is not sending
another email to confirm

* add update user emailVerified check-params test

* make user.model emailVerified property required
12 files changed:
client/src/app/+admin/users/user-list/user-list.component.html
client/src/app/+admin/users/user-list/user-list.component.ts
client/src/app/shared/moderation/user-moderation-dropdown.component.ts
client/src/app/shared/users/user.model.ts
client/src/app/shared/users/user.service.ts
server/controllers/api/users/index.ts
server/middlewares/validators/users.ts
server/tests/api/check-params/users.ts
server/tests/api/users/users.ts
server/tests/utils/users/users.ts
shared/models/users/user-update.model.ts
shared/models/users/user.model.ts