feat: add components to confirm password & 2fa

This commit is contained in:
2022-09-04 17:54:45 +01:00
parent e92b7f83d3
commit 8f3b790b53
3 changed files with 20 additions and 13 deletions

View File

@@ -0,0 +1,9 @@
@if (Auth::user()->has2FA())
<div class="form-group mt-5">
<label for="otp">{{ __('Two-factor authentication code') }}</label>
<input type="text" id="otp" name="otp" class="form-control">
<p class="text-muted text-sm"><i class="fas fa-info-circle"></i> $slot</p>
</div>
@endif