summaryrefslogtreecommitdiff
path: root/change_passw.php
diff options
context:
space:
mode:
Diffstat (limited to 'change_passw.php')
-rw-r--r--change_passw.php2
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 = "";