forked from chookspace/chookchat
Update server/src/main.cpp
This commit is contained in:
@@ -90,7 +90,7 @@ int main() {
|
|||||||
if (user.has_value()) {
|
if (user.has_value()) {
|
||||||
if (!bcrypt::validatePassword(password, user->passwordHash)) {
|
if (!bcrypt::validatePassword(password, user->passwordHash)) {
|
||||||
response.status = 401;
|
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;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user