Commit 5073dcd0 by zCaesar

fix status

parent 1a141d80
...@@ -37,7 +37,7 @@ function authCheck(client_id, token, password, callback) { ...@@ -37,7 +37,7 @@ function authCheck(client_id, token, password, callback) {
token: token, token: token,
password: password password: password
}; };
callback(validator.auth_connect(mqttauth, token_profile)); callback(validator.auth_connect(mqttauth, token_profile).status);
} }
else { else {
callback(false); callback(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment