浏览代码

added comment to PixiAuthIdentityProvider stating that SESSION_NOT_FOUND and USER_NOT_FOUND are real

CPK 1 月之前
父节点
当前提交
1c7d587470
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/PixiEditor.IdentityProvider.PixiAuth/PixiAuthIdentityProvider.cs

+ 1 - 0
src/PixiEditor.IdentityProvider.PixiAuth/PixiAuthIdentityProvider.cs

@@ -128,6 +128,7 @@ public class PixiAuthIdentityProvider : IIdentityProvider
             Error(e.Message, e.TimeLeft);
             LoginTimeout?.Invoke(e.TimeLeft);
         }
+        // Can produce SESSION_NOT_FOUND or USER_NOT_FOUND as a message, this comment ensure it's catched by the localization key checker
         catch (PixiAuthException authException)
         {
             Error(authException.Message);