Add extra redirect before DB to stop race condition

This commit is contained in:
Nabeel Shahzad
2017-12-15 08:49:01 -06:00
parent ab94b76d00
commit 24e5dec271
6 changed files with 40 additions and 33 deletions

View File

@@ -2,7 +2,7 @@
@section('title', 'Database Setup')
@section('content')
<div style="align-content: center;">
{!! Form::open(['route' => 'installer.dbsetup', 'method' => 'POST']) !!}
{!! Form::open(['route' => 'installer.envsetup', 'method' => 'POST']) !!}
<table class="table" width="25%">
<tr>
<td>Select Database Type</td>
@@ -18,7 +18,7 @@
<td>Database Host</td>
<td style="text-align:center;">
<div class="form-group">
{!! Form::input('text', 'db_host', null, ['class' => 'form-control']) !!}
{!! Form::input('text', 'db_host', 'localhost', ['class' => 'form-control']) !!}
</div>
</td>
</tr>