Closed (fixed)
Project:
Duo Two-Factor Authentication
Version:
7.x-1.9
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2016 at 17:59 UTC
Updated:
26 Oct 2016 at 19:14 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
rgchi commentedComment #3
rgchi commentedComment #4
DocVeg commentedI do have exactly the same settings and do receive exactly the same error messages.
The configuration was exactly done as mentioned here: https://duo.com/docs/drupal
Login with Duo (as administrators) works well and also login without Duo (as regular users) works well on my Drupal platform.
The error message above appears not during login, it appears during registration as a new user.
Comment #5
rgchi commented@DocVeg: Yes, this happens on any *new* user. After an initial login, then whatever field is populated and everything seems okay.
Our workaround: We tell people to login initially. This puts them into the authenticated role, which has equal privs as the Anonymous Role. Next, after we notice their login, only then do we promote them to a more privileged role (that also requires Duo to process for their log in). Not perfect for a large user base but it works until a patch is submitted.
Side note: We use OpenAM (transitioning from LDAP); so, we really don't have blanket user registration. So I can't speak exactly to that.
Comment #6
DocVeg commentedDidn't understand, why it is not possible to stop displaying that error message if it seems to be a issue of access rights. But if it appears at the end of the registration process of new users, they will think "that is not a safe and proper website, if already during registration error messages are appearing".
Attached are my settings - account (in German, but you can see what is switched on and off) - maybe it helps to identify the problem.
Comment #7
catapipperI could not get the notice to show up on the main login page but did notice it showing in the error logs. Noticed that the variables were being checked to see if they were correct without checking to see if they exist so thus I added a simple isset() around the variables and no errors anymore. Haven't seen any adverse effects either for creating a new user as admin.
Forgot to say that this is based on the 1.10 version of Duo.
Comment #8
catapipperComment #9
DocVeg commentedHi Catapipper
You are great, your fix solved the problem. The error message don't appear any more.
Thanks a lot!
Duo wasn't able to fix it, but hopefully they will integrate it into the distribution of the Duo module for Drupal!
Best regards!