Commits

HexRx  committed 359f1b4

Add remove auth method

  • Participants
  • Parent commits 4f8ad76

Comments (0)

Files changed (1)

File KPDataSave/AccountState.cs

                 return null;
             return JsonConvert.DeserializeObject<AccountState>(value);
         }
+
+        public static void Remove(IPluginHost host)
+        {
+            _account = null;
+            host.CustomConfig.SetString(Key, "");
+        }
     }
 }