mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Allow forget password page to be seen by main admin while logged in.
This commit is contained in:
2
fpw.php
2
fpw.php
@@ -16,7 +16,7 @@ require_once('class2.php');
|
|||||||
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
||||||
$tp = e107::getParser();
|
$tp = e107::getParser();
|
||||||
|
|
||||||
if (USER)
|
if (USER && !getperms('0'))
|
||||||
{
|
{
|
||||||
header('location:'.e_BASE.'index.php');
|
header('location:'.e_BASE.'index.php');
|
||||||
exit;
|
exit;
|
||||||
|
Reference in New Issue
Block a user