Skip to content

Commit

Permalink
fix: bug 2fa redirect to unallowed method (#6703)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexis Saettler <[email protected]>
  • Loading branch information
efturtle and asbiin authored Nov 5, 2023
1 parent 0a9112e commit 91cf915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ Geidson Benicio @geidsonc
Maximilian Arzberger @Schlauer-Hax <[email protected]>
Gregor Bigalke @GregTCLTK <[email protected]>
Julián Garcés Rodríguez <[email protected]>
Alberto Cuevas Ocegueda <[email protected]>
2 changes: 1 addition & 1 deletion resources/views/auth/validate2fa.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@section('content')
<div class="container">
<form action="{{ session('oauth') ? route('oauth.validate2fa') : route('validate2fa') }}" method="post">
<input type="hidden" name="url" value="{{ urlencode(url()->current()) }}" />
<input type="hidden" name="url" value="{{ urlencode(route('dashboard.index')) }}" />
<div class="row">
<div class="col-12 col-md-6 offset-md-3 offset-md-3-right">
<div class="signup-box">
Expand Down

0 comments on commit 91cf915

Please sign in to comment.