Merge branch 'emq20'

This commit is contained in:
Feng Lee 2016-12-13 10:57:55 +08:00
commit b640c40b6c
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ handle_request('GET', "/status", Req) ->
handle_request('POST', "/mqtt/publish", Req) ->
case authorized(Req) of
true -> http_publish(Req);
false -> Req:respond({401, [], <<"Fobbiden">>})
false -> Req:respond({401, [], <<"Unauthorized">>})
end;
%%--------------------------------------------------------------------