Fallback to default process when TFA requirements are unmet.

Created on 17 September 2024, 3 months ago

Problem/Motivation

When Email TFA is enabled, but the user does not meet the requirements to receive a TFA email, the system should follow the default process. Unnecessary redirections must be avoided to ensure a smooth user experience.

Proposed resolution

Implement a check in the submitForm function to verify if the user meets the requirements for two-factor authentication (TFA). If the requirements are not met, the system should proceed with the default process, preventing redirection to email_tfa.email_tfa_verify_login.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @lfersoy
  • I've created this patch in case the proposed feature makes sense for anyone.

  • 🇸🇦Saudi Arabia abdulaziz zaid Riyadh

    Hi lfersoy,

    Thank you so much for your excellent work on this. I believe your approach is correct, and everything is functioning well after testing. When you have time, could you kindly review the code and make sure it adheres to the standard coding practices?

    I really appreciate your effort!

  • Hi Abdulaziz, thanks for your comment. I didn’t find any further improvements needed in the patch regarding standard coding practices. However, please let me know if there's anything else to improve, and I’d be happy to make the changes.

  • Status changed to Needs review 7 days ago
  • 🇸🇦Saudi Arabia abdulaziz zaid Riyadh
Production build 0.71.5 2024