Add one more connack reason code
This commit is contained in:
parent
fc2df9aff5
commit
c7a317afaf
|
@ -150,6 +150,7 @@ compat(unsuback, _Code) -> undefined.
|
|||
|
||||
connack_error(client_identifier_not_valid) -> ?RC_CLIENT_IDENTIFIER_NOT_VALID;
|
||||
connack_error(bad_username_or_password) -> ?RC_BAD_USER_NAME_OR_PASSWORD;
|
||||
connack_error(bad_clientid_or_password) -> ?RC_BAD_USER_NAME_OR_PASSWORD;
|
||||
connack_error(username_or_password_undefined) -> ?RC_BAD_USER_NAME_OR_PASSWORD;
|
||||
connack_error(password_error) -> ?RC_BAD_USER_NAME_OR_PASSWORD;
|
||||
connack_error(not_authorized) -> ?RC_NOT_AUTHORIZED;
|
||||
|
|
|
@ -72,6 +72,7 @@
|
|||
-type(auth_result() :: success
|
||||
| client_identifier_not_valid
|
||||
| bad_username_or_password
|
||||
| bad_clientid_or_password
|
||||
| not_authorized
|
||||
| server_unavailable
|
||||
| server_busy
|
||||
|
|
Loading…
Reference in New Issue