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 {
|
Some(UserInfo {
|
||||||
username: user.username,
|
username: user.username,
|
||||||
account_level: user.account_level,
|
account_level: user.account_level,
|
||||||
nex_password: user.nex_password,
|
nex_password,
|
||||||
mii_data: user.mii_data.replace('\n', "").replace('\r', ""),
|
mii_data: user.mii_data.replace('\n', "").replace('\r', ""),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -156,7 +156,7 @@ impl Query {
|
||||||
Some(UserInfo {
|
Some(UserInfo {
|
||||||
username: user.username,
|
username: user.username,
|
||||||
account_level: user.account_level,
|
account_level: user.account_level,
|
||||||
nex_password: user.nex_password,
|
nex_password,
|
||||||
mii_data: user.mii_data,
|
mii_data: user.mii_data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -175,10 +175,12 @@ impl Query {
|
||||||
.await
|
.await
|
||||||
.ok()?;
|
.ok()?;
|
||||||
|
|
||||||
|
let nex_password = format!("{:a>16}",user.nex_password);
|
||||||
|
|
||||||
Some(UserInfoWithPId {
|
Some(UserInfoWithPId {
|
||||||
username: user.username,
|
username: user.username,
|
||||||
account_level: user.account_level,
|
account_level: user.account_level,
|
||||||
nex_password: user.nex_password,
|
nex_password,
|
||||||
mii_data: user.mii_data,
|
mii_data: user.mii_data,
|
||||||
pid: user.pid,
|
pid: user.pid,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue