Update server/src/main.cpp
This commit is contained in:
@@ -90,7 +90,7 @@ int main() {
|
||||
if (user.has_value()) {
|
||||
if (!bcrypt::validatePassword(password, user->passwordHash)) {
|
||||
response.status = 401;
|
||||
response.set_content("<p>wrong password lmao</p>", "text/html");
|
||||
response.set_content("<p>wrong password lmao</p><img src="https://media.tenor.com/wWX7upr7SvwAAAAM/byuntear-cat.gif" alt="your stupid lol">", "text/html");
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user