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

joachim’s picture

Status: Active » Needs review

Basically, 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.

jonfrancisskydiver’s picture

Joachim, 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

jonfrancisskydiver’s picture

Assigned: Unassigned » jonfrancisskydiver
Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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