mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Change date format to set AutoLoginExpired correctly
This commit is contained in:
parent
de09bffd84
commit
88ac537e96
@ -611,7 +611,7 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
||||
)));
|
||||
|
||||
$this->AutoLoginHash = $hash;
|
||||
$this->AutoLoginExpired = date('Y-m-d', time() + (86400 * $lifetime));
|
||||
$this->AutoLoginExpired = date('Y-m-d H:i:s', time() + (86400 * $lifetime));
|
||||
|
||||
$this->write();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user