Add functionality for generating random NEX passwords
This commit is contained in:
parent
b1240d05e8
commit
15129e8df3
5 changed files with 41 additions and 21 deletions
|
|
@ -77,9 +77,9 @@ impl grpc::account_server::Account for AccountService {
|
|||
.map_err(|_| Status::invalid_argument("No NEX account found"))?
|
||||
.nex_password;
|
||||
|
||||
let password_padded = format!("{:a>16}", password);
|
||||
// let password_padded = format!("{:a>16}", password);
|
||||
|
||||
Ok(Response::new(GetNexPasswordResponse { password: password_padded }))
|
||||
Ok(Response::new(GetNexPasswordResponse { password }))
|
||||
}
|
||||
async fn update_pnid_permissions(
|
||||
&self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue