Update finishing.blade.php

This commit is contained in:
Julian Prieber 2023-05-10 15:33:00 +02:00
parent 73eef01056
commit 668f246179
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ use App\Models\Page;
} else {EnvEditor::addKey('MANUAL_USER_VERIFICATION', 'false');}
if(EnvEditor::keyExists('ADMIN_EMAIL')){} else
{if(auth()->user()->id == 1){EnvEditor::addKey('ADMIN_EMAIL', App\Models\User::find(1)->email);}
{if(Auth::user()->id == 1){EnvEditor::addKey('ADMIN_EMAIL', App\Models\User::find(1)->email);}
else{EnvEditor::addKey('ADMIN_EMAIL', '');}}
if(env('APP_NAME') == 'LittleLink Custom' or env('APP_NAME') == 'LittleLink') {