@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | $this->request = $request; |
| 76 | 76 | $this->template = $template; |
| 77 | 77 | |
| 78 | - $this->registration_table = $registration_table; |
|
| 78 | + $this->registration_table = $registration_table; |
|
| 79 | 79 | |
| 80 | 80 | $this->u2f = new \paul999\u2f\U2F('https://' . $this->request->server('HTTP_HOST')); |
| 81 | 81 | } |
@@ -348,13 +348,13 @@ discard block |
||
| 348 | 348 | 'LAST_USED' => $this->user->format_date($row['last_used']), |
| 349 | 349 | )); |
| 350 | 350 | |
| 351 | - $reg = new registration_helper(); |
|
| 351 | + $reg = new registration_helper(); |
|
| 352 | 352 | $reg->setCounter($row['counter']); |
| 353 | 353 | $reg->setCertificate($row['certificate']); |
| 354 | 354 | $reg->setKeyHandle($row['key_handle']); |
| 355 | 355 | $reg->setPublicKey($row['public_key']); |
| 356 | - $reg->id = $row['registration_id']; |
|
| 357 | - $this->reg_data[] = $reg; |
|
| 356 | + $reg->id = $row['registration_id']; |
|
| 357 | + $this->reg_data[] = $reg; |
|
| 358 | 358 | } |
| 359 | 359 | $this->db->sql_freeresult($result); |
| 360 | 360 | } |
@@ -391,13 +391,13 @@ discard block |
||
| 391 | 391 | |
| 392 | 392 | while ($row = $this->db->sql_fetchrow($result)) |
| 393 | 393 | { |
| 394 | - $reg = new registration_helper(); |
|
| 394 | + $reg = new registration_helper(); |
|
| 395 | 395 | $reg->setCounter($row['counter']); |
| 396 | 396 | $reg->setCertificate($row['certificate']); |
| 397 | 397 | $reg->setKeyHandle($row['key_handle']); |
| 398 | 398 | $reg->setPublicKey($row['public_key']); |
| 399 | - $reg->id = $row['registration_id']; |
|
| 400 | - $rows[] = $reg; |
|
| 399 | + $reg->id = $row['registration_id']; |
|
| 400 | + $rows[] = $reg; |
|
| 401 | 401 | } |
| 402 | 402 | |
| 403 | 403 | $this->db->sql_freeresult($result); |