fix: profile settings html sanitization
This commit is contained in:
parent
d1e8e2b27c
commit
37d034db39
7 changed files with 6 additions and 66 deletions
|
@ -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())),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue