(Guillermo) code review changes
This commit is contained in:
parent
48fe22c536
commit
466bb85d34
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
class sessioncookie extends DataStore {
|
||||
class SessionCookie extends DataStore {
|
||||
const TABLE = 'session';
|
||||
|
||||
public static function getProps() {
|
||||
|
|
Loading…
Reference in New Issue