Track cleanup progress and polish profile/system flows
This commit is contained in:
@@ -133,7 +133,7 @@ public sealed class AuthController : ControllerBase
|
||||
|
||||
if (user is null)
|
||||
{
|
||||
return Unauthorized("This Google account is not linked to a Job Tracker user yet.");
|
||||
return Unauthorized("This Google account is not linked to a Jobbjakt user yet.");
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(user.GoogleSubject) || !string.Equals(user.GoogleSubject, google.Subject, StringComparison.Ordinal))
|
||||
@@ -237,7 +237,7 @@ public sealed class AuthController : ControllerBase
|
||||
.FirstOrDefaultAsync(x => x.GoogleSubject == google.Subject || (!string.IsNullOrWhiteSpace(google.Email) && x.GoogleEmail == google.Email), cancellationToken);
|
||||
if (conflict is not null)
|
||||
{
|
||||
return Conflict("That Google account is already linked to another Job Tracker user.");
|
||||
return Conflict("That Google account is already linked to another Jobbjakt user.");
|
||||
}
|
||||
|
||||
user.GoogleSubject = google.Subject;
|
||||
@@ -393,7 +393,7 @@ public sealed class AuthController : ControllerBase
|
||||
await _email.SendAsync(
|
||||
user.Email,
|
||||
"Password reset",
|
||||
$"You requested a password reset for Job Tracker.\n\nReset link:\n{link}\n\nIf you did not request this, you can ignore this email.",
|
||||
$"You requested a password reset for Jobbjakt.\n\nReset link:\n{link}\n\nIf you did not request this, you can ignore this email.",
|
||||
cancellationToken
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user