mirror of
https://github.com/flarum/core.git
synced 2025-05-06 07:25:22 +02:00
parent
b26c67dd3c
commit
42f1abacaf
@ -59,12 +59,14 @@ class InstallAction extends Action
|
|||||||
'database' => array_get($input, 'mysqlDatabase'),
|
'database' => array_get($input, 'mysqlDatabase'),
|
||||||
'username' => array_get($input, 'mysqlUsername'),
|
'username' => array_get($input, 'mysqlUsername'),
|
||||||
'password' => array_get($input, 'mysqlPassword'),
|
'password' => array_get($input, 'mysqlPassword'),
|
||||||
|
'password_confirmation' => array_get($input, 'mysqlPasswordConfirmation'),
|
||||||
'prefix' => array_get($input, 'tablePrefix'),
|
'prefix' => array_get($input, 'tablePrefix'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$data->setAdminUser([
|
$data->setAdminUser([
|
||||||
'username' => array_get($input, 'adminUsername'),
|
'username' => array_get($input, 'adminUsername'),
|
||||||
'password' => array_get($input, 'adminPassword'),
|
'password' => array_get($input, 'adminPassword'),
|
||||||
|
'password_confirmation' => array_get($input, 'adminPasswordConfirmation'),
|
||||||
'email' => array_get($input, 'adminEmail'),
|
'email' => array_get($input, 'adminEmail'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
<div class="FormField">
|
<div class="FormField">
|
||||||
<label>MySQL Password</label>
|
<label>MySQL Password</label>
|
||||||
<input type="password" name="mysqlPassword">
|
<input type="password" name="mysqlPassword">
|
||||||
|
<input type="password" name="mysqlPasswordConfirmation">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="FormField">
|
<div class="FormField">
|
||||||
@ -53,6 +54,7 @@
|
|||||||
<div class="FormField">
|
<div class="FormField">
|
||||||
<label>Admin Password</label>
|
<label>Admin Password</label>
|
||||||
<input type="password" name="adminPassword">
|
<input type="password" name="adminPassword">
|
||||||
|
<input type="password" name="adminPasswordConfirmation">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user