Tweak setup controller

This commit is contained in:
Graham Campbell
2015-11-21 22:49:07 +00:00
parent e5a46a71e7
commit 5eb1d376cf

View File

@@ -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();
}