]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/users/user.model.ts
enable email verification by admin (#1348)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / users / user.model.ts
index 7c840ffa7054c9109bff031e148a91a18ec988e1..9819829fd1c6e91827726c5d087d1c123ab0c0ba 100644 (file)
@@ -15,6 +15,7 @@ export type UserConstructorHash = {
   username: string,
   email: string,
   role: UserRole,
+  emailVerified?: boolean,
   videoQuota?: number,
   videoQuotaDaily?: number,
   nsfwPolicy?: NSFWPolicyType,
@@ -31,6 +32,7 @@ export class User implements UserServerModel {
   id: number
   username: string
   email: string
+  emailVerified: boolean
   role: UserRole
   nsfwPolicy: NSFWPolicyType
   webTorrentEnabled: boolean