mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +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++) {
|
for($i = 0; $i < 10 - $this->get2faBackupCodeCount(); $i++) {
|
||||||
$codes[] = [
|
$codes[] = [
|
||||||
owner => $this->getId(),
|
"owner" => $this->getId(),
|
||||||
code => random_int(10000000, 99999999)
|
"code" => random_int(10000000, 99999999)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue