Add phone signup to allow saas new users not to set up email
Issue link: #2508 (closed)
Depends on: !1354 (merged)
- JiHu Only
✅ - SaaS Only
✅ - Free
- With new feature flag:
soft_email_required_flow
What does this MR do and why?
On JiHu SaaS,
If users register by mobile phone, they can not fill in the email address during the experience period (24 hours by default).
During the experience period, phone registration users can perform any normal operations, such as creating projects.
After the experience period, those users are still required to fill in the email(redirect to profile page).
Screenshots or screen recordings
Registration with phone and code
Before | After |
---|---|
Redirect to profile page | Show welcome page |
How to set up and validate locally
-
Turn on Application settings:
phone_verification_code_enabled
-
Turn on FF:
registrations_with_phone
-
Turn on FF:
soft_email_required_flow
-
(optional) Set experience period through ENV
PHONE_REGISTRATION_EXPERIENCE_HOURS
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.