Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Replace @csrf token with code that makes more sense.
James Cole36987fa8c187
diff --git a/resources/views/auth/oauth/authorize.blade.php b/resources/views/auth/oauth/authorize.blade.phpindex 1e2e27cfce..ff6090eba6 100644--- a/resources/views/auth/oauth/authorize.blade.php+++ b/resources/views/auth/oauth/authorize.blade.php@@ -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 }}">diff --git a/resources/views/layout/v3/session.blade.php b/resources/views/layout/v3/session.blade.phpindex 107aa648fb..1fd9372f71 100644--- a/resources/views/layout/v3/session.blade.php+++ b/resources/views/layout/v3/session.blade.php@@ -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">