fixed typo in monitor

This commit is contained in:
Noe 2023-10-26 16:43:48 +02:00
parent e38285835a
commit 4bb6aaa8ef
2 changed files with 2 additions and 2 deletions

View File

@ -482,7 +482,7 @@ public class Controller : ControllerBase
Db.DeleteUserPassword(user); Db.DeleteUserPassword(user);
return Redirect($"https://monnitor.innov.energy/?username={user.Email}&reset=true"); // TODO: move to settings file return Redirect($"https://monitor.innov.energy/?username={user.Email}&reset=true"); // TODO: move to settings file
} }
} }

View File

@ -219,7 +219,7 @@ public static class UserMethods
public static Task SendPasswordResetEmail(this User user, String token) public static Task SendPasswordResetEmail(this User user, String token)
{ {
const String subject = "Reset the password of your InnovEnergy-Account"; const String subject = "Reset the password of your InnovEnergy-Account";
const String resetLink = "https://monnitor.innov.energy/api/ResetPassword"; // TODO: move to settings file const String resetLink = "https://monitor.innov.energy/api/ResetPassword"; // TODO: move to settings file
var encodedToken = HttpUtility.UrlEncode(token); var encodedToken = HttpUtility.UrlEncode(token);
var body = $"Dear {user.Name}\n" + var body = $"Dear {user.Name}\n" +