This commit is contained in:
James Cole
2016-09-24 10:55:13 +02:00
parent 9deef5ac92
commit ab6dd0a1ec
3 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ class RegisterController extends Controller
*/
public function showRegistrationForm(Request $request)
{
$showDemoWarning = env('SHOW_DEMO_WARNING', false);
$showDemoWarning = config('firefly.show-demo-warning', false);
// is allowed to?
$singleUserMode = FireflyConfig::get('single_user_mode', Config::get('firefly.configuration.single_user_mode'))->data;