Skip to content

Commit

Permalink
HPCC-20557 Fix a word
Browse files Browse the repository at this point in the history
Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
  • Loading branch information
wangkx committed Sep 18, 2018
1 parent 4873da1 commit 74b3697
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esp/bindings/http/platform/httpservice.cpp
Expand Up @@ -1052,19 +1052,19 @@ EspAuthState CEspHttpServer::preCheckAuth(EspAuthRequest& authReq)
{
if (strieq(method, "lock") || strieq(method, "unlock"))
{
VStringBuffer errMsg("Action not support: %s", method);
VStringBuffer errMsg("Action not supported: %s", method);
sendLockResponse(strieq(method, "lock"), true, errMsg.str());
return authTaskDone;
}
else if (strieq(method, "login") || strieq(method, "logout") || (strnicmp(method, "updatepassword", 14) == 0))
{
VStringBuffer errMsg("Action not support: %s", method);
VStringBuffer errMsg("Action not supported: %s", method);
sendMessage(errMsg.str(), "text/html; charset=UTF-8");
return authTaskDone;
}
else if (strieq(method, "get_session_timeout") || strieq(method, "reset_session_timeout"))
{
VStringBuffer errMsg("Action not support: %s", method);
VStringBuffer errMsg("Action not supported: %s", method);
ESPSerializationFormat respFormat = m_request->queryContext()->getResponseFormat();
sendMessage(errMsg.str(), (respFormat == ESPSerializationJSON) ? "application/json" : "text/xml");
return authTaskDone;
Expand Down

0 comments on commit 74b3697

Please sign in to comment.