Fix missing CSRF field

This commit is contained in:
Pig Fang 2019-05-02 20:51:34 +08:00
parent 60ad06cfbb
commit f297788806
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<p>@lang('setup.wizard.database.text')</p>
<form id="setup" method="post" action="{{ url('setup/database') }}" novalidate="novalidate">
@csrf
<table class="form-table">
<tr class="form-field form-required">
<th scope="row"><label for="type">@lang('setup.wizard.database.type')</label></th>

View File

@ -8,6 +8,7 @@
<p>@lang('setup.wizard.info.text')</p>
<form id="setup" method="post" action="{{ url('setup/finish') }}" novalidate="novalidate">
@csrf
<table class="form-table">
<tr>
<th scope="row"><label for="email">@lang('setup.wizard.info.admin-email')</label></th>