mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 14:46:37 +00:00
Fix #4023
This commit is contained in:
@@ -61,11 +61,10 @@ class HomeController extends Controller
|
||||
$mainTitleIcon = 'fa-hand-spock-o';
|
||||
$email = auth()->user()->email;
|
||||
$pref = app('preferences')->get('remote_guard_alt_email', null);
|
||||
if(null !== $pref) {
|
||||
if(null !== $pref && is_string($pref->data)) {
|
||||
$email = $pref->data;
|
||||
}
|
||||
|
||||
|
||||
Log::debug('Email is ', [$email]);
|
||||
|
||||
return view('admin.index', compact('title', 'mainTitleIcon','email'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user