Add an application setting to control Email OTP

What does this MR do and why?

Add an application setting to control Email OTP

Currently Email OTP is feature flagged. So that we can remove the Feature Flag, but retain the ability to control the feature, we convert it to an Application Setting.

This commit adds the setting. In a subsequent MR we will remove the Feature Flag. As both are default disabled, but need to be enabled on GitLab.com, we must break the transition into three steps:

  1. Add the Application Setting <-- This MR
  2. Enable it on GitLab.com
  3. Remove the Feature Flag

Part 1 of https://gitlab.com/gitlab-org/gitlab/-/work_items/599948+s

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #599948

Merge request reports

Loading
Loading