Skip to content

Commit 73eef01

Browse files
committed
Update InstallerController.php
1 parent 5e7f80b commit 73eef01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Http/Controllers/InstallerController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ public function createAdmin(request $request)
5959
fclose($handleFile);
6060
}
6161

62+
try{EnvEditor::addKey('ADMIN_EMAIL', $email);}catch(Exception $e){}
63+
6264
if(DB::table('users')->count() == '0'){
6365
Schema::disableForeignKeyConstraints();
6466
DB::table('users')->delete();

0 commit comments

Comments
 (0)