Replace Form::hidden with @csrf

This commit is contained in:
Marcus Moore 2025-01-27 11:07:19 -08:00
parent e53ed2319c
commit e26abb8684
No known key found for this signature in database

View file

@ -12,7 +12,7 @@
</a>
<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>
</form>