Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While testing #2457823: Implement TFA login requirement when TFA has not been set up I got those notices generated multiple time during the login process. Those appear when a user has only setup TOTP for their account (and no validation).
Warning: Invalid argument supplied for foreach() in tfa_basic_tfa_context_alter() (line 218 of tfa_basic.module).
Notice: Undefined index: fallback in tfa_basic_tfa_context_alter() (line 218 of tfa_basic.module).
Comment | File | Size | Author |
---|---|---|---|
#1 | 2481215_1_tfa_basic_notices.patch | 749 bytes | scor |
Comments
Comment #1
scor CreditAttribution: scor at Acquia commentedsimple patch.
Comment #2
gregglesI didn't test, but +1 conceptually.
Comment #4
coltraneThank you @scor. Committed.