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