This is using the "plugins" branch from git and https://drupal.org/sandbox/coltrane/2180075

When doing a one-time-login for user 2 (i.e. normal, authenticated user) who has TOTP set up I got these notices:

Notice: Undefined variable: account in _tfa_form_get_destination() (line 116 of /Users/greggles/workspace/d7/sites/all/modules/tfa/tfa/tfa.form.inc).
Notice: Trying to get property of non-object in _tfa_form_get_destination() (line 116 of /Users/greggles/workspace/d7/sites/all/modules/tfa/tfa/tfa.form.inc).
Notice: Undefined variable: account in _tfa_form_get_destination() (line 120 of /Users/greggles/workspace/d7/sites/all/modules/tfa/tfa/tfa.form.inc).
Notice: Trying to get property of non-object in _tfa_form_get_destination() (line 120 of /Users/greggles/workspace/d7/sites/all/modules/tfa/tfa/tfa.form.inc).
CommentFileSizeAuthor
#2 2180855-tfa-one-time-notices.patch959 bytescoltrane

Comments

coltrane’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

Moving to 7.x-2.x branch, new home of the "plugins" code.

coltrane’s picture

Status: Active » Needs review
StatusFileSize
new959 bytes

Confirmed with https://drupal.org/project/tfa_basic. This patch fixes it.

coltrane’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.