diff --git a/app/Livewire/Ui/System/SettingsForm.php b/app/Livewire/Ui/System/SettingsForm.php index 2faf511..8fd461c 100644 --- a/app/Livewire/Ui/System/SettingsForm.php +++ b/app/Livewire/Ui/System/SettingsForm.php @@ -136,7 +136,7 @@ class SettingsForm extends Component $this->loadSslStatus(); $defaultSenderName = ($this->instance_name ?: 'Mailwolt') . ' Benachrichtigung'; - $defaultAdminEmail = auth()->user()?->notifyEmail() ?? ''; + $defaultAdminEmail = auth()->user()?->system_notify_email ?? ''; $this->notify_sender_name = (string) Setting::get('notify_sender_name', $defaultSenderName); $this->notify_admin_email = (string) Setting::get('notify_admin_email', $defaultAdminEmail); $this->rate_limit = (int) Setting::get('rate_limit', $this->rate_limit);