From 5eb1d376cfa6727decaf9071ea425ec6120b5597 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sat, 21 Nov 2015 22:49:07 +0000 Subject: [PATCH] Tweak setup controller --- app/Http/Controllers/SetupController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SetupController.php b/app/Http/Controllers/SetupController.php index 56a23153..d508f4c3 100644 --- a/app/Http/Controllers/SetupController.php +++ b/app/Http/Controllers/SetupController.php @@ -58,7 +58,7 @@ class SetupController extends Controller public function getIndex() { // If we've copied the .env.example file, then we should try and reset it. - if (getenv('APP_KEY') === 'SomeRandomString') { + if (strlen(Config::get('app.key')) !== 32) { $this->keyGenerate(); }