mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Shamil Yakupov: no reset for logged user
This commit is contained in:
parent
74a6aa2a95
commit
b2f1c3ca4b
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@ session_start();
|
|||
define('NO_AUTH_REQUIRED',true);
|
||||
$TAB = 'RESET PASSWORD';
|
||||
|
||||
if (isset($_SESSION['user'])) {
|
||||
header("Location: /list/user");
|
||||
}
|
||||
|
||||
// Main include
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue