Page MenuHomePhorge

D4773.1775395989.diff
No OneTemporary

Authored By
Unknown
Size
565 B
Referenced Files
None
Subscribers
None

D4773.1775395989.diff

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

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 5, 1:33 PM (16 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18824501
Default Alt Text
D4773.1775395989.diff (565 B)

Event Timeline