mirror of
https://github.com/bitwarden/server
synced 2025-12-19 17:53:44 +00:00
better smtp check
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
<h2>Settings</h2>
|
||||
|
||||
<h3>SMTP</h3>
|
||||
@if(Model.GlobalSettings.Mail.Smtp == null)
|
||||
@if(!Bit.Core.Utilities.CoreHelpers.SettingHasValue(Model.GlobalSettings.Mail?.Smtp?.Host))
|
||||
{
|
||||
<p class="text-muted">Not configured</p>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user