diff --git a/csharp/App/Backend/Email/Email.cs b/csharp/App/Backend/Email/Email.cs index 9e5262e36..af48e9720 100644 --- a/csharp/App/Backend/Email/Email.cs +++ b/csharp/App/Backend/Email/Email.cs @@ -30,7 +30,7 @@ public static class Email var config = JsonSerializer.Deserialize(File.OpenRead("./Resources/smtpConfig.json"))!; //todo am I right? - const String resetLink = "https://monitor.innov.energy/api/resetPassword"; + const String resetLink = "https://monitor.innov.energy/api/ResetPassword"; try { diff --git a/csharp/App/Backend/Relations/Session.cs b/csharp/App/Backend/Relations/Session.cs index 03af863ee..34cbff4f0 100644 --- a/csharp/App/Backend/Relations/Session.cs +++ b/csharp/App/Backend/Relations/Session.cs @@ -36,7 +36,7 @@ public class Session : Relation { var token = new Byte[24]; Random.Shared.NextBytes(token); - return Convert.ToBase64String(token); + return Convert.ToBase64String(token).Replace("/",""); } } \ No newline at end of file