When a user logs in and the user is still Anonymous, the module currently reports an error because it expects $user to have a name. As a result of that, an error is presented to the user.

Will be adding a patch here to support the case where after submitting the login form the user still isn't logged in, as well as a login hook which checks against the TFA module to see if the module is enabled and the user is configured for TFA and logs the information in the event log.

CommentFileSizeAuthor
#2 3052347.patch1.22 KBfubarhouse

Issue fork event_log-3052347

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fubarhouse created an issue. See original summary.

fubarhouse’s picture

StatusFileSize
new1.22 KB
fubarhouse’s picture

Assigned: fubarhouse » Unassigned
govind.maloo’s picture

Status: Active » Reviewed & tested by the community

Patch is working fine on production env.
As a part of D7 distribution of https://github.com/govCMS/govCMS this has been deployed.

tarik.cipix made their first commit to this issue’s fork.