fix: profile settings html sanitization

This commit is contained in:
trisua 2025-05-13 18:50:36 -04:00
parent d1e8e2b27c
commit 37d034db39
7 changed files with 6 additions and 66 deletions

View file

@ -133,7 +133,7 @@ pub async fn login_request(
}
// verify password
let user = match data.get_user_by_username(&props.username).await {
let user = match data.get_user_by_username_no_cache(&props.username).await {
Ok(ua) => ua,
Err(_) => return (None, Json(Error::IncorrectPassword.into())),
};