fix: setting birthdate on login
This commit is contained in:
parent
3e58d186a9
commit
262c67098a
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class User
|
||||||
$this->password_reset_valid_until = \strtotime($fields['password_reset_valid_until']);
|
$this->password_reset_valid_until = \strtotime($fields['password_reset_valid_until']);
|
||||||
$this->last_login = \strtotime($fields['last_login']);
|
$this->last_login = \strtotime($fields['last_login']);
|
||||||
$this->power = $fields['power'];
|
$this->power = $fields['power'];
|
||||||
$this->birthdate = $fields['birthdate'];
|
$this->birthdate = \strtotime($fields['birthdate'] ?? 0);
|
||||||
$this->language = $fields['language'];
|
$this->language = $fields['language'];
|
||||||
$this->currency = $fields['currency'];
|
$this->currency = $fields['currency'];
|
||||||
$this->name_first = $fields['name_first'] ?? '';
|
$this->name_first = $fields['name_first'] ?? '';
|
||||||
|
|
Loading…
Reference in a new issue