NCBACK-9 add login
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2025-12-10 04:51:07 +07:00
parent b5b8bebb69
commit 8a33bd33a2
6 changed files with 34 additions and 54 deletions
@@ -6,17 +6,8 @@ public enum MessageCode {
INVALID_FIELD(2002, "Invalid field"),
MSG_ID_NOT_FOUND(2004, "Message id not found"),
REGISTER_SUCCESS(10002, "Register success"),
BAD_REQUEST(400, "Bad request"),
UNAUTHORIZED(403, "Unauthorized"),
FORBIDDEN(402, "Forbidden"),
NOT_FOUND(404, "Not found"),
INTERNAL_ERROR(500, "Internal server error"),
AUTH_INVALID_CREDENTIALS(101, "Invalid credentials"),
AUTH_EMAIL_NOT_CONFIRMED(103, "Email not confirmed");
AUTH_EMAIL_NOT_FOUND(2005, "Email not found"),
AUTH_PASSWORD_NOT_MATCHES(2006, "Password does not match");
private final Integer code;