update error msg

This commit is contained in:
aprilthepink 2024-05-03 20:12:56 +02:00
parent 571f65e2fa
commit 89e537be64

View file

@ -35,7 +35,7 @@ impl State {
if name == db_user.username {
Ok(db_user)
} else {
Err(anyhow!("Invalid user {name}").into())
Err(anyhow!("Invalid user {name} // {0}", db_user.username).into())
}
}
}