(Guillermo) code review changes
This commit is contained in:
parent
48fe22c536
commit
466bb85d34
|
@ -89,8 +89,8 @@ class LoginController extends Controller {
|
||||||
$sessionCookie->setProperties(array(
|
$sessionCookie->setProperties(array(
|
||||||
'user' => $this->userInstance->getBeanInstance(),
|
'user' => $this->userInstance->getBeanInstance(),
|
||||||
'token' => $this->rememberToken,
|
'token' => $this->rememberToken,
|
||||||
'ip' => $_SERVER[‘REMOTE_ADDR’],
|
'ip' => $_SERVER['REMOTE_ADDR'],
|
||||||
'creationDate' => date("d-m-Y (H:i:s)"
|
'creationDate' => date('d-m-Y (H:i:s)')
|
||||||
));
|
));
|
||||||
$sessionCookie->store();
|
$sessionCookie->store();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
class sessioncookie extends DataStore {
|
class SessionCookie extends DataStore {
|
||||||
const TABLE = 'session';
|
const TABLE = 'session';
|
||||||
|
|
||||||
public static function getProps() {
|
public static function getProps() {
|
||||||
|
|
Loading…
Reference in New Issue