Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117909902
D4773.1775395989.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
565 B
Referenced Files
None
Subscribers
None
D4773.1775395989.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D4773: We use this from the admin seeder
Attached
Detach File
Event Timeline