Track cleanup progress and polish profile/system flows
This commit is contained in:
@@ -153,7 +153,7 @@ public sealed class UsersController : ControllerBase
|
||||
await _email.SendAsync(
|
||||
u.Email,
|
||||
"Password reset",
|
||||
$"An admin initiated a password reset for your Job Tracker account.\n\nReset link:\n{link}\n",
|
||||
$"An admin initiated a password reset for your Jobbjakt account.\n\nReset link:\n{link}\n",
|
||||
cancellationToken
|
||||
);
|
||||
|
||||
@@ -171,9 +171,9 @@ public sealed class UsersController : ControllerBase
|
||||
var toEmail = (request?.ToEmail ?? currentUser?.Email ?? "").Trim();
|
||||
if (string.IsNullOrWhiteSpace(toEmail)) return BadRequest("Recipient email is required.");
|
||||
|
||||
var subject = string.IsNullOrWhiteSpace(request?.Subject) ? "Job Tracker test email" : request!.Subject!.Trim();
|
||||
var subject = string.IsNullOrWhiteSpace(request?.Subject) ? "Jobbjakt test email" : request!.Subject!.Trim();
|
||||
var message = string.IsNullOrWhiteSpace(request?.Message)
|
||||
? "This is a test email from the Job Tracker admin panel.\n\nIf you received this, the SMTP configuration is working."
|
||||
? "This is a test email from the Jobbjakt admin panel.\n\nIf you received this, the SMTP configuration is working."
|
||||
: request!.Message!.Trim();
|
||||
|
||||
await _email.SendAsync(
|
||||
|
||||
Reference in New Issue
Block a user