Generate a 32 byte key, properly

This commit is contained in:
James Brooks
2015-12-23 15:41:09 +00:00
parent 27f85d941b
commit 632582998f

View File

@@ -209,7 +209,7 @@ class SetupController extends Controller
*/
protected function keyGenerate()
{
$key = str_random(42);
$key = str_random(32);
$path = base_path('.env');