News:

Join the Facebook Fan Page.

Main Menu

OpenID and Admin

Started by ibookdb, March 20, 2008, 07:50:41 PM

Previous topic - Next topic

ibookdb

To test out openID on existing accounts, I added my OpenID URL to my database entry and I can't get to the Admin section anymore:

QuoteAuthentication Restriction
Your account at this forum currently uses OpenID for authentication.

For security purposes the action you are attempting to perform is restricted only to users who have password authentication on their accounts.
To proceed with this action you will need to switch authentication on your account to be by password.

You can change your account into a password based account from the Account Settings page of your profile.

So I tried logging out and logging in with my username and password and I still get the same message.
Manage Your Book Collection Online at The Internet Book Database

Random Books from My Bookshelf

iBookDB

H

Did you try completely removing the OpenID URL from the member?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

ibookdb

No I want to be able to login with OpenID :) but I'll do that because I'm forced to or I can't admin.
Manage Your Book Collection Online at The Internet Book Database

Random Books from My Bookshelf

iBookDB

H

Ok I just looked through the code. In Subs-Auth.php try commenting out this code:

// If this person is an OpenID person I'm afraid at the moment we require them to unhook their account.
//!!! Do we think we should allow this in the future?
if (!empty($user_settings['openid_uri']))
{
$context['sub_template'] = 'admin_openid_disabled';
$context['page_title'] = $txt['openid_admin_action'];

obExit();

// No pass, just in case!
trigger_error('Hacking attempt...', E_USER_ERROR);
}
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Advertisement: