Verification form not rendering correctly.

Created on 11 December 2023, 7 months ago
Updated 2 February 2024, 5 months ago

Problem/Motivation

I wanted to use this module to do 2fa via email which works fine but my problem is that when user is logged in is able to view admin menus which i think should not happen instead before user can see the menus or any other private pages links the otp need to be verified first ie the verification form should be the next to be display after login form with completely white page with form on middle of it, can this be archived thank you

Steps to reproduce

- install module
- enabled the module
- Configure on /admin/config/people/email-tfa
- set 2fa for administrator roles
- logout and login again

Proposed resolution

-- 2FA verification form will be better to be on complete blank page containing only form

✨ Feature request
Status

Closed: duplicate

Version

1.0

Component

User interface

Created by

πŸ‡²πŸ‡ΌMalawi chancenyasulu

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

Comments & Activities

  • Issue created by @chancenyasulu
  • Status changed to Closed: duplicate 5 months ago
  • πŸ‡ΈπŸ‡¦Saudi Arabia abdulaziz zaid Riyadh

    Thx chancenyasulu ,

    I think this issue is fixed on 2.0.x, you can test and give me feedback.

  • πŸ‡²πŸ‡ΌMalawi chancenyasulu

    ok will do

  • πŸ‡²πŸ‡ΌMalawi chancenyasulu

    Hello Abdulaziz, I have look and tested the code from

    composer require 'drupal/email_tfa:2.0.x-dev@dev'

    and

    composer require 'drupal/email_tfa:^2.0@alpha'

    But both side gives me problem when i have enabled the module and configure it accordingly
    Clearing cache and then logout to login again unfortunately i cant login site just keeps on loading Note: this happens only when STMP module https://www.drupal.org/project/smtp β†’ is not configured properly

    Please enforce this requirement in email TFA module

    Other Errors found:

    this video screen-capture (3).mp4 (15.16 MB) shows for composer require 'drupal/email_tfa:^2.0@alpha'

    and

    this video screen-capture (4).mp4 (9.58 MB) shows for composer require 'drupal/email_tfa:2.0.x-dev@dev'

    You will notice that in both we have these errors please check images.

    Good News:
    With properly configuration of stmp module email TFA works great now. check Screenshot from 2024-02-02 16-15-55.png (201.93 KB)

    Thank you.

Production build 0.69.0 2024