mirror of
https://github.com/bitwarden/server.git
synced 2025-04-08 22:58:11 -05:00
better smtp check
This commit is contained in:
parent
c9fdec55b5
commit
6aca7404c2
@ -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>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user