Page 1 of 1

phpBB 3.0.x Remove ACP 2nd authentication login

Posted: 05 Dec 2012, 21:53
by Blue Blood
Remove ACP 2nd authentication login

OPEN adm/index.php
FIND

Code: Select all

// Have they authenticated (again) as an admin for this session?
if (!isset($user->data['session_admin']) || !$user->data['session_admin'])
{
	login_box('', $user->lang['LOGIN_ADMIN_CONFIRM'], $user->lang['LOGIN_ADMIN_SUCCESS'], true, false);
}
REPLACE-WITH

Code: Select all

// Have they authenticated (again) as an admin for this session?
//if (!isset($user->data['session_admin']) || !$user->data['session_admin'])
//{
//	login_box('', $user->lang['LOGIN_ADMIN_CONFIRM'], $user->lang['LOGIN_ADMIN_SUCCESS'], true, false);
//}

phpBB 3.0.x Remove ACP 2nd authentication login

Posted: 11 Dec 2012, 02:21
by Daniel
Not wanting to be rude about it but why would you want to do this?

phpBB 3.0.x Remove ACP 2nd authentication login

Posted: 11 Dec 2012, 02:24
by Blue Blood
2 each its own

phpBB 3.0.x Remove ACP 2nd authentication login

Posted: 13 Dec 2012, 00:20
by Solidjeuh
This is very nice! Thank you! :)
I work with .httacces password protection, So it's still safe :)
'' http://www.elated.com/articles/password ... -htaccess/ ''

That second login was irritating me sometimes lol :D

phpBB 3.0.x Remove ACP 2nd authentication login

Posted: 13 Dec 2012, 00:35
by Steve
Will affect the sessions table to authenticate you as admin on the forum as well but hey ho! why not just remove the meta refresh and have a instant redirect?

phpBB 3.0.x Remove ACP 2nd authentication login

Posted: 13 Dec 2012, 00:52
by Steve
Where did you find this snippet or is it yours?

phpBB 3.0.x Remove ACP 2nd authentication login

Posted: 13 Dec 2012, 02:00
by Blue Blood
I found it years ago.... I think on phpBB.com

I only use it when I am working on a mod (localhost)