diff options
author | cflip <36554078+cflip@users.noreply.github.com> | 2021-04-24 19:50:59 -0600 |
---|---|---|
committer | cflip <36554078+cflip@users.noreply.github.com> | 2021-04-24 19:50:59 -0600 |
commit | fe3e6194d33d63f149f2a362adf325019278d61e (patch) | |
tree | 29242725a90a10d3d7870fac039d86cbaa5c3e5c /change_passw.php | |
parent | 2098bf444afadcf0363d89b4cc1dca5d2213d754 (diff) |
Use Session class instead of $_SESSION
Diffstat (limited to 'change_passw.php')
-rw-r--r-- | change_passw.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/change_passw.php b/change_passw.php index 9f39742..31e0e0d 100644 --- a/change_passw.php +++ b/change_passw.php @@ -5,7 +5,7 @@ include_once './includes/functions_user.php'; session_start(); -if ($_SERVER['REQUEST_METHOD'] == 'POST' and $_SESSION['signed_in']) { +if ($_SERVER['REQUEST_METHOD'] == 'POST' and Session::get()->is_signed_in()) { $errors = array(); $user_pass = ""; |