Fixed bug with username

This commit is contained in:
Noe 2024-07-23 15:13:36 +02:00
parent 615dc7bb92
commit 524759fdff
1 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,8 @@ public static class SessionMethods
if (user is null || user.UserType == 0) if (user is null || user.UserType == 0)
return false; return false;
action.UserName = user.Name;
var installation = Db.GetInstallationById(action.InstallationId); var installation = Db.GetInstallationById(action.InstallationId);
installation.TestingMode = action.TestingMode; installation.TestingMode = action.TestingMode;