Hello UNA Team,
While testing UNA 13.1.0 on my dev site, I came across this weird behavior of the account confirmation unconfirming already-confirmed accounts when enabling the option: Account is confirmed when ‘email and phone are confirmed’.
In a near future, I am planning to use Twilio to verify phone numbers for account creation. But meanwhile, because of the Twilio cost, I temporally disabled the Phone confirmation and I enabled the email confirmation only by selecting the option: Account is confirmed when ‘email is confirmed’.
Please, note that I have also enabled the Phone field on the Account creation and edit page to allow members to enter/edit their phone number to be used in the future when the phone confirmation will be enabled.
The problem is, later when I enable the option: Account is confirmed when ‘email and phone are confirmed’, already-confirmed accounts using email confirmation get unconfirmed. The account confirmation system requires members to confirm both ‘email’ (reconfirm) and ‘phone’.
Is it a normal behavior? Wasn't it supposed to require members to confirm their phone only and not to reconfirm their email address (again) as it was already confirmed when the option: Account is confirmed when ‘email is confirmed’ was enabled?
When the 'email' or/and the 'phone' is already confirmed, the system shouldn't require members to reconfirm it when the account confirmation setting is changed in Studio > Settings > Account.
@Alex T⚜️ @Anton L Please correct me if I am wrong. Also, please could you provide us with a fix to this issue in UNA 14.0.0?
Thanks advance.
Hello @OneEagle !
Yes, this is the right behaviour because the activation option works in the "present moment" and it checks the activation parameters (email and phone) in the present moment. So it's better to enable it with Twilio or activate left "without phones" accounts manually.
Hi @LeonidS
Thanks for your reply but it seems like you didn't get my point.
Why should the system request members to re-confirm their email (for the second time) when the setting in Studio is changed to 'email and phone'? Why should they do that if their email was already confirmed when the setting was: Account is confirmed when ‘email is confirmed’? It doesn't make any sense at all. It's not logical.
IMHO, existing members with their already-confirmed email shouldn't be asked to confirm their email for the second time when the setting is changed to: Account is confirmed when ‘email and phone are confirmed’. Instead, they should confirm their 'phone' only.