| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class TwoFactorController extends Controller |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Show the form to confirm the otp. |
||
| 12 | * |
||
| 13 | * @return View |
||
|
|
|||
| 14 | */ |
||
| 15 | public function showOtpForm() |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Verify the otp entered by the user with the value from the database. |
||
| 22 | * When verified redirect the user to the intended page. |
||
| 23 | * |
||
| 24 | * @param Request $request |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function verifyOtp(Request $request) |
||
| 39 |