Browse Source

Added logging for failed re-logging in.

Kenric Nugteren 1 year ago
parent
commit
e2df952fb0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      InABox.Server/RPC/Handlers/Validate.cs

+ 4 - 0
InABox.Server/RPC/Handlers/Validate.cs

@@ -28,6 +28,10 @@ namespace InABox.Rpc
                     CredentialsCache.RefreshSessionExpiry(parameters.SessionID);
                     CredentialsCache.RefreshSessionExpiry(parameters.SessionID);
                     reLogin = true;
                     reLogin = true;
                 }
                 }
+                else
+                {
+                    Logger.Send(LogType.Information, "", $"{parameters.SessionID} re-logging failed!");
+                }
             }
             }
 
 
             if (user is null)
             if (user is null)