fix: incorrect nex password length

This commit is contained in:
DJMrTV 2025-05-29 22:17:51 +02:00
commit 68dc89532c
3 changed files with 11 additions and 0 deletions

View file

@ -126,6 +126,8 @@ impl Query {
return None;
}
};
let nex_password = format!("{:a>16}",user.nex_password);
Some(UserInfo {
username: user.username,
@ -149,6 +151,8 @@ impl Query {
.await
.ok()?;
let nex_password = format!("{:a>16}",user.nex_password);
Some(UserInfo {
username: user.username,
account_level: user.account_level,