Page MenuHomePhorge

D4773.1775429044.diff
No OneTemporary

Authored By
Unknown
Size
626 B
Referenced Files
None
Subscribers
None

D4773.1775429044.diff

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';

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 5, 10:44 PM (9 h, 43 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18833996
Default Alt Text
D4773.1775429044.diff (626 B)

Event Timeline