aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user-update.model.ts
diff options
context:
space:
mode:
authorJosh Morel <morel.josh@hotmail.com>2018-11-21 02:48:29 -0500
committerChocobozzz <me@florianbigard.com>2018-11-21 08:48:29 +0100
commitfc2ec87a8c4dcfbb91a1a62cf4c07a2a8e6a50fe (patch)
treea2cea5e299c5f1a731da99277949ea2f0bb35659 /shared/models/users/user-update.model.ts
parent04b8c3fba614efc3827f583096c78b08cb668470 (diff)
downloadPeerTube-fc2ec87a8c4dcfbb91a1a62cf4c07a2a8e6a50fe.tar.gz
PeerTube-fc2ec87a8c4dcfbb91a1a62cf4c07a2a8e6a50fe.tar.zst
PeerTube-fc2ec87a8c4dcfbb91a1a62cf4c07a2a8e6a50fe.zip
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
Diffstat (limited to 'shared/models/users/user-update.model.ts')
-rw-r--r--shared/models/users/user-update.model.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/models/users/user-update.model.ts b/shared/models/users/user-update.model.ts
index ce866fb18..abde51321 100644
--- a/shared/models/users/user-update.model.ts
+++ b/shared/models/users/user-update.model.ts
@@ -2,6 +2,7 @@ import { UserRole } from './user-role'
2 2
3export interface UserUpdate { 3export interface UserUpdate {
4 email?: string 4 email?: string
5 emailVerified?: boolean
5 videoQuota?: number 6 videoQuota?: number
6 videoQuotaDaily?: number 7 videoQuotaDaily?: number
7 role?: UserRole 8 role?: UserRole