mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Replace Form::hidden with @csrf
This commit is contained in:
parent
e53ed2319c
commit
e26abb8684
|
@ -12,7 +12,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<form method="POST" style="display: inline">
|
<form method="POST" style="display: inline">
|
||||||
{{ Form::hidden('_token', csrf_token()) }}
|
@csrf
|
||||||
<button class="btn btn-primary {{ (config('app.lock_passwords')) ? ' disabled': '' }}">{{ trans('admin/settings/general.generate_backup') }}</button>
|
<button class="btn btn-primary {{ (config('app.lock_passwords')) ? ' disabled': '' }}">{{ trans('admin/settings/general.generate_backup') }}</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue