Commit f50cf834 by zCaesar

Merge branch 'alpha-v2' into 'master'

fix status

See merge request !6
parents 6dd889b8 5073dcd0
...@@ -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