mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
щас должен ноуспам заработать
This commit is contained in:
parent
1a17a245c5
commit
9a4309ae01
1 changed files with 2 additions and 2 deletions
|
@ -54,11 +54,11 @@ class PasswordReset extends RowModel
|
|||
}
|
||||
}
|
||||
|
||||
function save(): void
|
||||
function save(?bool $log = false): void
|
||||
{
|
||||
$this->stateChanges("key", base64_encode(openssl_random_pseudo_bytes(46)));
|
||||
$this->stateChanges("timestamp", time());
|
||||
|
||||
parent::save();
|
||||
parent::save($log);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue