diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-15 13:12:10 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-15 15:38:49 +0200 |
commit | d93e2548f0b1b2a464b8ce8eaff520627f9ac2dc (patch) | |
tree | 859e7635100904dcd0879b92ed82298983cf03cd /apps/settings/src/constants | |
parent | fe5e67265428dfe0cb2ff221cfe62da03df95038 (diff) | |
download | nextcloud-server-d93e2548f0b1b2a464b8ce8eaff520627f9ac2dc.tar.gz nextcloud-server-d93e2548f0b1b2a464b8ce8eaff520627f9ac2dc.zip |
only offer to set locally verified mails as primary
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/settings/src/constants')
-rw-r--r-- | apps/settings/src/constants/AccountPropertyConstants.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/settings/src/constants/AccountPropertyConstants.js b/apps/settings/src/constants/AccountPropertyConstants.js index 9d3fd4ee97b..95bf3a87dfb 100644 --- a/apps/settings/src/constants/AccountPropertyConstants.js +++ b/apps/settings/src/constants/AccountPropertyConstants.js @@ -119,6 +119,13 @@ export const SCOPE_PROPERTY_ENUM = Object.freeze({ /** Default additional email scope */ export const DEFAULT_ADDITIONAL_EMAIL_SCOPE = SCOPE_ENUM.LOCAL +/** Enum of verification constants, according to IAccountManager */ +export const VERIFICATION_ENUM = Object.freeze({ + NOT_VERIFIED: 0, + VERIFICATION_IN_PROGRESS: 1, + VERIFIED: 2, +}) + /** * Email validation regex * |