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

@ -139,6 +139,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;
installation.Apply(Db.Update);