From 1e0ceda92b1792ebc0d563da771eb1d4c987a195 Mon Sep 17 00:00:00 2001 From: "yadong.zhang" Date: Mon, 25 Oct 2021 17:04:55 +0800 Subject: [PATCH] :zap: change: Optimize the code --- .../main/java/com/fujieid/jap/core/result/JapErrorCode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jap-core/src/main/java/com/fujieid/jap/core/result/JapErrorCode.java b/jap-core/src/main/java/com/fujieid/jap/core/result/JapErrorCode.java index fa659c8..ac6daeb 100644 --- a/jap-core/src/main/java/com/fujieid/jap/core/result/JapErrorCode.java +++ b/jap-core/src/main/java/com/fujieid/jap/core/result/JapErrorCode.java @@ -38,8 +38,8 @@ public enum JapErrorCode { MISS_ISSUER(1006, "OidcStrategy requires a issuer option."), MISS_CREDENTIALS(1007, "Missing credentials"), INVALID_GRANT_TYPE(1008, "The grant type is not supported by the authorization server, or the current client is not authorized for the grant type."), - ERROR_HTTP_API_CONFIG(1008, "http api config error,please check"), - LOGIN_FAILURE(1009, "Incorrect username or password."), + ERROR_HTTP_API_CONFIG(1009, "http api config error, please check"), + LOGIN_FAILURE(1010, "Incorrect username or password."), LDAP_NOT_IMPLEMENTED_ENCRYPTION(2001, "LDAP password encryption is not implemented"), LDAP_NOT_IMPLEMENTED_MATCH(2002, "LDAP password matching method is not implemented"), LDAP_ILLEGAL_PASSWORD_ENCRYPTION_ALGORITHM(2003, "Illegal password encryption algorithm"), -- GitLab