diff --git a/src/app/Utils.php b/src/app/Utils.php --- a/src/app/Utils.php +++ b/src/app/Utils.php @@ -179,12 +179,10 @@ */ 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.env') != 'production') { + if (\config('app.passphrase')) { + return \config('app.passphrase'); + } } $alphaLow = 'abcdefghijklmnopqrstuvwxyz';