Skip to content

Commit b2f1c3c

Browse files
committed
Shamil Yakupov: no reset for logged user
1 parent 74a6aa2 commit b2f1c3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web/reset/index.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
define('NO_AUTH_REQUIRED',true);
44
$TAB = 'RESET PASSWORD';
55

6+
if (isset($_SESSION['user'])) {
7+
header("Location: /list/user");
8+
}
9+
610
// Main include
711
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
812

0 commit comments

Comments
 (0)