I am wondering if any one knows where I can find the code that redirects the admin to re-authenticate on the login page. Example, when the admin goes to the ACP, they are redirected to the login page to re-authenticate. Do you know where I can find the code that redirects? Thanks.
This bit of code is in /adm/index.php on lines 30-34: // 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); } I also found the "login_box" in /includes/functions.php on line 2859: /** * Generate login box or verify password */ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = false, $s_display = true) { Now that I found this, How can I redirect the admin re-authenticate to a duplicate login page?
in phpbb it is by default to re authenticate if acp is log in if you are using phpbb3.08 if not then update it go to maintenance and then see which version f phpbb you are using