mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix(email): ensure all email settings are validated before sending; allow nullable From property
This commit is contained in:
@@ -17,7 +17,7 @@ namespace SharpbinV3.Server.Settings
|
||||
public string Password { get; set; } = string.Empty;
|
||||
|
||||
[EmailAddress]
|
||||
public string From { get; set; } = string.Empty;
|
||||
public string? From { get; set; }
|
||||
public string Verification_HMAC_Secret { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user