Merge pull request #20 from serhack/patch-1

Fixing #14
This commit is contained in:
Lee *!* Clagett 2021-08-24 17:20:45 -04:00 committed by GitHub
commit 6988fbed76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -774,7 +774,7 @@ namespace lws
response.m_response_code = 400;
response.m_response_comment = "Bad Request";
}
else if (body == lws::error::account_not_found)
else if (body == lws::error::account_not_found || body == lws::error::duplicate_request)
{
response.m_response_code = 403;
response.m_response_comment = "Forbidden";