diff --git a/src/app/Utils.php b/src/app/Utils.php --- a/src/app/Utils.php +++ b/src/app/Utils.php @@ -180,11 +180,9 @@ public static function generatePassphrase() { if (\config('app.env') == 'production') { - throw new \Exception("Thou shall not pass!"); - } - - if (\config('app.passphrase')) { - return \config('app.passphrase'); + if (\config('app.passphrase')) { + return \config('app.passphrase'); + } } $alphaLow = 'abcdefghijklmnopqrstuvwxyz';