ACP Authentication Help

Discuss the development of future releases of phpBB (phpBB 3.x minor releases) and MODing/Coding related questions.
Post Reply
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

ACP Authentication Help

Post by MasterZ »

For my OpenID MOD I want to use OpenID to allow access to the ACP, but how do I do that?

Currently I just run the user through the same login process but use this to create the session:

Code: Select all

 $user->session_create($row['user_id'], true);


But I end up logging the user out some how. What do I need to do to allow the user to access the ACP?

Thanks for any help you can provide.

- Jon
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: ACP Authentication Help

Post by Obsidian »

Okay, first of all..need to find out at what stage of the login the user is being logged out at.

Could you find that out, relative to the login_box() function in FILE: [ includes/functions.php ]?
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: ACP Authentication Help

Post by MasterZ »

ah, cool. Now that I know where the login_box function is I'll mess around with it and see what I can figure out.

I think the way I'm doing it isn't right anyway... I need to clean up my code, throw it into a class and organize it a bit.

I'll let you know what I find.
Post Reply