diff --git a/admin/index.php b/admin/index.php index 876f77a..063a679 100644 --- a/admin/index.php +++ b/admin/index.php @@ -9,8 +9,6 @@ if(isset($_COOKIE['user'])&&!isset($_SESSION['user'])) User::restore_session(); } -//TODO: CHeck if user deactivated - if (!isset($_SESSION['user'])) { if (isset($_GET['do']) && $_GET['do']=="lost-password") diff --git a/admin/lost-password.php b/admin/lost-password.php index 84872d5..1af7580 100644 --- a/admin/lost-password.php +++ b/admin/lost-password.php @@ -13,7 +13,7 @@ Template::render_header(_("Lost password")); $user->change_password($_POST['token']); if (isset($message)){?>
- "> + "> diff --git a/admin/new-user.php b/admin/new-user.php index 66dc36e..9e04c2b 100644 --- a/admin/new-user.php +++ b/admin/new-user.php @@ -9,7 +9,7 @@ Template::render_header(_("New user"), true); ?>