This commit is contained in:
SerHack 2021-08-21 10:35:38 +02:00 committed by GitHub
parent 346732014a
commit f4f45f49d6
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";