- Timestamp:
- Aug 9, 2023, 9:41:32 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TFP-WebServer/WebServer/src/WebAPI/APIs/Permissions/RegisterUser.cs
r453 r459 95 95 // Log info 96 96 string crossplatformidString = regData.CrossPlatformUserId == null ? "" : $", crossplatform ID {regData.CrossPlatformUserId.CombinedString}"; 97 global::Log.Out ($"[Web] User registered: Username '{username}' for platform ID {regData.PlatformUserId.CombinedString}{crossplatformidString}");97 Log.Out ($"[Web] User registered: Username '{username}' for platform ID {regData.PlatformUserId.CombinedString}{crossplatformidString}"); 98 98 99 99 if (AdminWebUsers.Instance.HasUser (regData.PlatformUserId, regData.CrossPlatformUserId, out AdminWebUsers.WebUser existingUser)) { 100 100 // Remove existing username of player, only allowing one user per player 101 101 102 global::Log.Out ($"[Web] Re-registration, replacing existing username '{existingUser.Name}'");102 Log.Out ($"[Web] Re-registration, replacing existing username '{existingUser.Name}'"); 103 103 AdminWebUsers.Instance.RemoveUser (existingUser.Name); 104 104 }
Note:
See TracChangeset
for help on using the changeset viewer.