diff --git a/server/controllers/user/login.php b/server/controllers/user/login.php index 30ae03f6..e69292de 100644 --- a/server/controllers/user/login.php +++ b/server/controllers/user/login.php @@ -89,8 +89,8 @@ class LoginController extends Controller { $sessionCookie->setProperties(array( 'user' => $this->userInstance->getBeanInstance(), 'token' => $this->rememberToken, - 'ip' => $_SERVER[‘REMOTE_ADDR’], - 'creationDate' => date("d-m-Y (H:i:s)" + 'ip' => $_SERVER['REMOTE_ADDR'], + 'creationDate' => date('d-m-Y (H:i:s)') )); $sessionCookie->store(); } diff --git a/server/models/SessionCookie.php b/server/models/SessionCookie.php index 496027bf..bd33c8e4 100644 --- a/server/models/SessionCookie.php +++ b/server/models/SessionCookie.php @@ -1,6 +1,6 @@