Skip to content

Commit

Permalink
Replace Form::hidden with @csrf
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusmoore committed Jan 27, 2025
1 parent e53ed23 commit e26abb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/settings/backups.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit e26abb8

Please sign in to comment.