[AUTH][REMEMBER-ME] Changed name of column in rememberme_token database table to fix bug
This commit is contained in:
parent
15454cab7f
commit
f9443f1e87
@ -39,7 +39,7 @@ class RememberMeToken extends Entity
|
|||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
private string $series;
|
private string $series;
|
||||||
private string $value;
|
private string $value;
|
||||||
private DateTimeInterface $lastUsed;
|
private DateTimeInterface $lastused;
|
||||||
private string $class;
|
private string $class;
|
||||||
private string $username;
|
private string $username;
|
||||||
|
|
||||||
@ -65,15 +65,15 @@ class RememberMeToken extends Entity
|
|||||||
return $this->value;
|
return $this->value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setLastUsed(DateTimeInterface $lastUsed): self
|
public function setLastUsed(DateTimeInterface $lastused): self
|
||||||
{
|
{
|
||||||
$this->lastUsed = $lastUsed;
|
$this->lastused = $lastused;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLastUsed(): DateTimeInterface
|
public function getLastUsed(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->lastUsed;
|
return $this->lastused;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setClass(string $class): self
|
public function setClass(string $class): self
|
||||||
@ -107,7 +107,7 @@ class RememberMeToken extends Entity
|
|||||||
'fields' => [
|
'fields' => [
|
||||||
'series' => ['type' => 'char', 'length' => 88, 'not null' => true],
|
'series' => ['type' => 'char', 'length' => 88, 'not null' => true],
|
||||||
'value' => ['type' => 'char', 'length' => 88, 'not null' => true],
|
'value' => ['type' => 'char', 'length' => 88, 'not null' => true],
|
||||||
'lastUsed' => ['type' => 'datetime', 'not null' => true, 'default' => 'CURRENT_TIMESTAMP'],
|
'lastused' => ['type' => 'datetime', 'not null' => true, 'default' => 'CURRENT_TIMESTAMP'],
|
||||||
'class' => ['type' => 'varchar', 'length' => 100, 'not null' => true],
|
'class' => ['type' => 'varchar', 'length' => 100, 'not null' => true],
|
||||||
'username' => ['type' => 'varchar', 'length' => 64, 'not null' => true],
|
'username' => ['type' => 'varchar', 'length' => 64, 'not null' => true],
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user