diff --git a/src/main/java/org/ntlab/citrusserver/resources/AccountsRest.java b/src/main/java/org/ntlab/citrusserver/resources/AccountsRest.java index f320d14..8f1faad 100644 --- a/src/main/java/org/ntlab/citrusserver/resources/AccountsRest.java +++ b/src/main/java/org/ntlab/citrusserver/resources/AccountsRest.java @@ -203,10 +203,11 @@ throw new WebApplicationException(response.build()); } //成功 - /*if(accountManager.checkToken(accountId, token)) { - accountManager.changeAccountColor(accountId, "D5D5D5", token); + if(accountManager.checkToken(accountId, token)) { + //accountManager.changeAccountColor(accountId, "D5D5D5", token); + accountManager.changeAccountColor(accountId, accountColor, token); return; - }*/ + } //403 var response = Response.status(Response.Status.FORBIDDEN).entity("認証失敗");//forbiddenは403