mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-01 02:12:12 +00:00
Generate the Laravel APP_KEY of Input during the installation
Laravel accepts a 32-character key, which token-hex with 16 bytes provides, so the installation no longer asks the user to create one with openssl.
This commit is contained in:
@@ -74,8 +74,7 @@
|
||||
"example": "",
|
||||
"required": true,
|
||||
"sensitive": true,
|
||||
"source": "upstream-documentation",
|
||||
"prompt": "APP_KEY: use the upstream command openssl rand -base64 32 and prefix its output with base64:"
|
||||
"source": "upstream-documentation"
|
||||
}
|
||||
],
|
||||
"volumes": [
|
||||
@@ -416,7 +415,14 @@
|
||||
"owner_strategy": "image-user",
|
||||
"mode": "0755"
|
||||
}
|
||||
]
|
||||
],
|
||||
"generated_sensitive_environment": {
|
||||
"APP_KEY": {
|
||||
"strategy": "token-hex",
|
||||
"bytes": 16,
|
||||
"prompt": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"compatibility": {
|
||||
|
||||
@@ -74,8 +74,7 @@
|
||||
"example": "",
|
||||
"required": true,
|
||||
"sensitive": true,
|
||||
"source": "upstream-documentation",
|
||||
"prompt": "APP_KEY: use the upstream command openssl rand -base64 32 and prefix its output with base64:"
|
||||
"source": "upstream-documentation"
|
||||
}
|
||||
],
|
||||
"volumes": [
|
||||
@@ -416,7 +415,14 @@
|
||||
"owner_strategy": "image-user",
|
||||
"mode": "0755"
|
||||
}
|
||||
]
|
||||
],
|
||||
"generated_sensitive_environment": {
|
||||
"APP_KEY": {
|
||||
"strategy": "token-hex",
|
||||
"bytes": 16,
|
||||
"prompt": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"compatibility": {
|
||||
|
||||
Reference in New Issue
Block a user