mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Resolves #1017
This commit is contained in:
parent
49d62543ba
commit
c9665ac77d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue