This commit is contained in:
lalka2018 2023-11-07 20:32:04 +03:00
parent 49d62543ba
commit c9665ac77d

View file

@ -720,8 +720,8 @@ class User extends RowModel
for($i = 0; $i < 10 - $this->get2faBackupCodeCount(); $i++) {
$codes[] = [
owner => $this->getId(),
code => random_int(10000000, 99999999)
"owner" => $this->getId(),
"code" => random_int(10000000, 99999999)
];
}