Give editors a new session id when they log in.
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ if (isset($_SESSION['editor'])) {
|
||||
if (!password_verify($compare_password, $stored_password)) {
|
||||
$denied = TRUE;
|
||||
} else {
|
||||
$_SESSION['editor'] = $username;
|
||||
login_editor($username);
|
||||
// Keep user logged in with cookie, if they request it
|
||||
if (isset($_POST['remember'])) {
|
||||
create_persistent_login($username);
|
||||
|
||||
Reference in New Issue
Block a user