Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #179 from vanrestual/patch-1
Browse files Browse the repository at this point in the history
Generate APP_KEY Automatically
  • Loading branch information
rashidlaasri authored May 18, 2019
2 parents 7c0ee78 + 6c5b4b9 commit 7baa840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/EnvironmentManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function saveFileWizard(Request $request)
$envFileData =
'APP_NAME=\'' . $request->app_name . "'\n" .
'APP_ENV=' . $request->environment . "\n" .
'APP_KEY=' . 'base64:bODi8VtmENqnjklBmNJzQcTTSC8jNjBysfnjQN59btE=' . "\n" .
'APP_KEY=' . 'base64:' . base64_encode(str_random(32)) . "\n" .
'APP_DEBUG=' . $request->app_debug . "\n" .
'APP_LOG_LEVEL=' . $request->app_log_level . "\n" .
'APP_URL=' . $request->app_url . "\n\n" .
Expand Down

0 comments on commit 7baa840

Please sign in to comment.