Closed (fixed)
Project:
ipAuthenticator
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 May 2008 at 07:38 UTC
Updated:
30 May 2008 at 13:41 UTC
The admin page says:
'Click on a link to modify the authenticator assignment. Your IP: 92.10.82.149'
So click the link.
I am taken to the same page, but now with the message above:
'Please select your authenticator again'
What next?
Comments
Comment #1
joachim commentedBasically, what's going wrong is the check in ipauth_admin_edit:
if (!preg_match("/^[0-9]+\$/", $args[1])) {
There is no 1st argument, only a zeroth: a dsm of the entire $args array shows this.
Change the index to [0] and it works fine.
Comment #2
jonfrancisskydiver commentedJoachim, your comment was right on. There were some extra references to $args[1] in code and I switched them to $args[0]. I've tested the functionality on a fresh install of Drupal 5.7
Comment #3
jonfrancisskydiver commentedComment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.