From 4bb6aaa8ef6c3e946d82edfba7b2d4173b4f6e07 Mon Sep 17 00:00:00 2001 From: Noe Date: Thu, 26 Oct 2023 16:43:48 +0200 Subject: [PATCH] fixed typo in monitor --- csharp/App/Backend/Controller.cs | 2 +- csharp/App/Backend/DataTypes/Methods/User.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/App/Backend/Controller.cs b/csharp/App/Backend/Controller.cs index 4763556a2..d75ef9da9 100644 --- a/csharp/App/Backend/Controller.cs +++ b/csharp/App/Backend/Controller.cs @@ -482,7 +482,7 @@ public class Controller : ControllerBase 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 } } diff --git a/csharp/App/Backend/DataTypes/Methods/User.cs b/csharp/App/Backend/DataTypes/Methods/User.cs index 2467c7d3b..ecd698385 100644 --- a/csharp/App/Backend/DataTypes/Methods/User.cs +++ b/csharp/App/Backend/DataTypes/Methods/User.cs @@ -219,7 +219,7 @@ public static class UserMethods public static Task SendPasswordResetEmail(this User user, String token) { 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 body = $"Dear {user.Name}\n" +