From b760d113d2ecf45a888b0b2d403b774d57248787 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Tue, 2 Jan 2018 21:22:17 +0100 Subject: [PATCH] Installation default data: Use more sensible defaults Using .dev as a TLD for local development is discouraged, as at least Chrome now enforces HTTPS for these domains. As far as I know, by default, the MySQL root user does not have a password on many platforms. I use it this way on my local machine, and this makes it convenient to setup a local copy. --- src/Install/Console/DefaultsDataProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Install/Console/DefaultsDataProvider.php b/src/Install/Console/DefaultsDataProvider.php index e34235404..c14d3aabd 100644 --- a/src/Install/Console/DefaultsDataProvider.php +++ b/src/Install/Console/DefaultsDataProvider.php @@ -18,12 +18,12 @@ class DefaultsDataProvider implements DataProviderInterface 'host' => 'localhost', 'database' => 'flarum', 'username' => 'root', - 'password' => 'root', + 'password' => '', 'prefix' => '', 'port' => '3306', ]; - protected $baseUrl = 'http://flarum.dev'; + protected $baseUrl = 'http://flarum.local'; protected $adminUser = [ 'username' => 'admin',