Properly set expires to NULL when creating a token
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
c2f09e4395
commit
3e57666093
|
@ -99,6 +99,9 @@ class DefaultToken extends Entity implements IToken {
|
|||
$this->addType('lastCheck', 'int');
|
||||
$this->addType('scope', 'string');
|
||||
$this->addType('expires', 'int');
|
||||
|
||||
$this->setExpires(null);
|
||||
$this->markFieldUpdated('expires');
|
||||
}
|
||||
|
||||
public function getId() {
|
||||
|
|
Loading…
Reference in New Issue