mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-26 07:00:10 -05:00
Replace @csrf token with code that makes more sense.
This commit is contained in:
1 parent
0a0983fe2a
commit
36987fa8c1
2 files changed
+3
-3
No files matched your search
@@ -35,7 +35,7 @@
|
||||
<div class="col">
|
||||
<!-- Authorize Button -->
|
||||
<form method="post" class="form-inline" action="{{ route('passport.authorizations.approve') }}">
|
||||
@csrf
|
||||
<input name="_token" type="hidden" value="{{ csrf_token() }}">
|
||||
<input type="hidden" name="state" value="{{ $request->state }}">
|
||||
<input type="hidden" name="client_id" value="{{ $client->getKey() }}">
|
||||
<input type="hidden" name="auth_token" value="{{ $authToken }}">
|
||||
@@ -47,7 +47,7 @@
|
||||
<div class="col">
|
||||
<!-- Cancel Button -->
|
||||
<form method="post" action="{{ route('passport.authorizations.deny') }}">
|
||||
@csrf
|
||||
<input name="_token" type="hidden" value="{{ csrf_token() }}">
|
||||
@method('DELETE')
|
||||
|
||||
<input type="hidden" name="state" value="{{ $request->state }}">
|
||||
|
||||
@@ -437,7 +437,7 @@
|
||||
<div class="modal fade" tabindex="-1" role="dialog" id="customDateRangeModal" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<form action="{{ route('daterange') }}?redirect=true" method="POST" id="daterange-form">
|
||||
@csrf
|
||||
<input name="_token" type="hidden" value="{{ csrf_token() }}">
|
||||
<input type="hidden" name="start" value="" id="customStart"/>
|
||||
<input type="hidden" name="end" value="" id="customEnd"/>
|
||||
<div class="modal-content">
|
||||
|
||||
Reference in new issue
Block a user