From 197c2369862ddbdacf32ea13f11c50b69f44a0cc Mon Sep 17 00:00:00 2001 From: AlphaBs Date: Sun, 17 May 2020 16:37:30 +0900 Subject: [PATCH] mojang login api /invalidate return 204 status code --- CmlLib/Core/MLogin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CmlLib/Core/MLogin.cs b/CmlLib/Core/MLogin.cs index 5b76939..9d64528 100644 --- a/CmlLib/Core/MLogin.cs +++ b/CmlLib/Core/MLogin.cs @@ -353,7 +353,7 @@ public bool Invalidate() }; var res = mojangRequest("invalidate", job.ToString()); - return res.StatusCode == HttpStatusCode.OK; // 200 + return res.StatusCode == HttpStatusCode.NoContent; // 204 } public bool Signout(string id, string pw)