Skip to content

Commit

Permalink
Update verify.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
stanfortonski committed Mar 15, 2021
1 parent 2f94746 commit 4be4f08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/views/verify.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<div class="col-md-8">
<div class="card-group">
<div class="card">
<div class="card-header text-center h3">
{{ __('twofactor::twofactor.view.header') }}
<div class="card-header text-center">
<span class="card-title">{{ __('twofactor::twofactor.view.header') }}</span>
</div>
<div class="card-body">
<form method="POST" action="{{ route('twofactor.verify.store') }}">
Expand All @@ -30,7 +30,7 @@

<div class="row">
<div class="col-6">
<a class="btn btn-danger text-light px-4" href="#" onclick="event.preventDefault(); document.getElementById('logoutform').submit();">
<a class="btn btn-danger text-light px-4" href="#" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
{{ __('twofactor::twofactor.view.logout') }}
</a>
</div>
Expand All @@ -48,7 +48,7 @@
</div>
</div>

<form id="logoutform" action="{{ route('logout') }}" method="POST" style="display: none;">
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
@csrf
</form>
@endsection
Expand Down

0 comments on commit 4be4f08

Please sign in to comment.