mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -04:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue