handlerlogin: Fix typo in error message
This commit is contained in:
parent
84b55f6e96
commit
192c533f1f
@ -71,7 +71,7 @@ std::vector<char> HandlerLogin::pbkdf5(std::string password, const std::vector<c
|
|||||||
Response HandlerLogin::handleRequest(const Request &r)
|
Response HandlerLogin::handleRequest(const Request &r)
|
||||||
{
|
{
|
||||||
auto createErrorReesponse = [&]() {
|
auto createErrorReesponse = [&]() {
|
||||||
return errorResponse("Login error", "The supplied credenetials are incorrect");
|
return errorResponse("Login error", "The supplied credentials are incorrect");
|
||||||
};
|
};
|
||||||
|
|
||||||
if(isBanned(r.getIp()))
|
if(isBanned(r.getIp()))
|
||||||
|
Loading…
Reference in New Issue
Block a user