Skip to content

Commit

Permalink
feat: add checkbox to enforce verification of emails
Browse files Browse the repository at this point in the history
  • Loading branch information
flaminic committed Dec 23, 2024
1 parent 8e36284 commit 283f762
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/settingsCategories.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ export const categories = {
{
setting: 'keyAccountRecovery',
},
{
setting: 'enforceVerifiedEmail',
minimumApiVersion: 42,
},
{
setting: 'keyLockMultipleFailedLogins',
},
Expand Down
4 changes: 4 additions & 0 deletions src/settingsKeyMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,10 @@ const settingsKeyMapping = {
label: i18n.t('Enable user account recovery'),
type: 'checkbox',
},
enforceVerifiedEmail: {
label: i18n.t('Enforce verified emails'),
type: 'checkbox',
},
keyLockMultipleFailedLogins: {
label: i18n.t(
'Lock user account temporarily after multiple failed login attempts'
Expand Down

0 comments on commit 283f762

Please sign in to comment.