fix(notification): save smtp sender without reentering password

Preserve the saved SMTP password when connection settings are unchanged and keep it out of admin forms.

Ref: IT-1601
This commit is contained in:
2026-10-18 00:35:17 +03:00
parent c5eee69018
commit 1c028313ba
5 changed files with 184 additions and 13 deletions
@@ -94,6 +94,10 @@
<label asp-for="Password" class="form-label fw-semibold">Password</label>
<input asp-for="Password" class="form-control" type="password" autocomplete="new-password" />
<span asp-validation-for="Password" class="text-danger small"></span>
@if (!Model.IsNew)
{
<div class="form-text">Leave blank to keep the saved password when SMTP connection settings are unchanged.</div>
}
</div>
</div>