Fix phone login with MFA
related issue #1110 (closed)
User can't login with phone number when MFA is enabled. The phone login feature is introduced in this MR !440 (merged)
Proposal
-
Allow phone login with MFA enabled -
Add feature flag check for sign-in username label
UI
Before | After |
---|---|
How to test
- Given a user with MFA enabled
- And feature enabled
Feature.enable :phone_authenticatable
- When goto sign in page
- Then the username label should be
用户名/邮箱/手机号
- And Two factor auth is required after you submit the form
由 Martin Tan 编辑于