From 524759fdffb5016bd7dd501017f411a8344ecb2d Mon Sep 17 00:00:00 2001 From: Noe Date: Tue, 23 Jul 2024 15:13:36 +0200 Subject: [PATCH] Fixed bug with username --- csharp/App/Backend/DataTypes/Methods/Session.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/csharp/App/Backend/DataTypes/Methods/Session.cs b/csharp/App/Backend/DataTypes/Methods/Session.cs index 0d622fa7a..1e751bb85 100644 --- a/csharp/App/Backend/DataTypes/Methods/Session.cs +++ b/csharp/App/Backend/DataTypes/Methods/Session.cs @@ -138,6 +138,8 @@ public static class SessionMethods if (user is null || user.UserType == 0) return false; + + action.UserName = user.Name; var installation = Db.GetInstallationById(action.InstallationId); installation.TestingMode = action.TestingMode;