added friends endpoints and added features for viewing

This commit is contained in:
Sven laptop
2026-07-31 14:43:58 +02:00
parent b712c6ec07
commit 374fc9fb67
21 changed files with 1894 additions and 122 deletions
+2 -2
View File
@@ -150,8 +150,8 @@ export function getRegistrationFieldErrors(form) {
}
function validateLoginPassword(password) {
if (password.length < 1 || password.length > 128) {
return "Password must be between 1 and 128 characters.";
if (password.length < 12 || password.length > 128) {
return "Password must be at least 12 characters.";
}
return null;
}