fix: hopefully actually fix it this time
This commit is contained in:
parent
68dc89532c
commit
fcd39565fc
1 changed files with 5 additions and 3 deletions
|
|
@ -132,7 +132,7 @@ impl Query {
|
|||
Some(UserInfo {
|
||||
username: user.username,
|
||||
account_level: user.account_level,
|
||||
nex_password: user.nex_password,
|
||||
nex_password,
|
||||
mii_data: user.mii_data.replace('\n', "").replace('\r', ""),
|
||||
})
|
||||
}
|
||||
|
|
@ -156,7 +156,7 @@ impl Query {
|
|||
Some(UserInfo {
|
||||
username: user.username,
|
||||
account_level: user.account_level,
|
||||
nex_password: user.nex_password,
|
||||
nex_password,
|
||||
mii_data: user.mii_data,
|
||||
})
|
||||
}
|
||||
|
|
@ -175,10 +175,12 @@ impl Query {
|
|||
.await
|
||||
.ok()?;
|
||||
|
||||
let nex_password = format!("{:a>16}",user.nex_password);
|
||||
|
||||
Some(UserInfoWithPId {
|
||||
username: user.username,
|
||||
account_level: user.account_level,
|
||||
nex_password: user.nex_password,
|
||||
nex_password,
|
||||
mii_data: user.mii_data,
|
||||
pid: user.pid,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue