1
0
mirror of https://github.com/flarum/core.git synced 2025-10-20 03:06:07 +02:00

Require password confirmation in console installer

Refs #405.
This commit is contained in:
Franz Liedke
2015-09-04 11:57:11 +02:00
parent fc7fc41383
commit b26c67dd3c
3 changed files with 27 additions and 15 deletions

View File

@@ -13,12 +13,13 @@ namespace Flarum\Install\Console;
class DefaultData implements ProvidesData
{
protected $databaseConfiguration = [
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'flarum',
'username' => 'root',
'password' => 'root',
'prefix' => '',
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'flarum',
'username' => 'root',
'password' => 'root',
'password_confirmation' => 'root',
'prefix' => '',
];
protected $baseUrl = 'http://flarum.dev';
@@ -26,6 +27,7 @@ class DefaultData implements ProvidesData
protected $adminUser = [
'username' => 'admin',
'password' => 'admin',
'password_confirmation' => 'admin',
'email' => 'admin@example.com',
];