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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user