diff --git a/resources/views/site/contact.blade.php b/resources/views/site/contact.blade.php index 56935702b..7baaad61d 100644 --- a/resources/views/site/contact.blade.php +++ b/resources/views/site/contact.blade.php @@ -36,10 +36,12 @@ @endif @else

- @if(filter_var(config('instance.email'), FILTER_VALIDATE_EMAIL) == true) - You can contact the admins by sending an email to {{config('instance.email')}}. - @elseif (config('instance.contact.enabled')) + @if(config('instance.email') && config('instance.contact.enabled')) + You can contact the admins by sending an email to {{config('instance.email')}} or log in to send a message. + @elseif (!config('instance.email') && config('instance.contact.enabled')) The admins have not set a contact email address. Please log in to send a message. + @elseif (config('instance.email') && !config('instance.contact.enabled')) + You can contact the admins by sending an email to {{config('instance.email')}}. @endif

@endauth