Fix/refreshing account doesnt change username (#720)
Co-authored-by: LynithDev <61880709+LynithDev@users.noreply.github.com>
This commit is contained in:
parent
b9f408079e
commit
f7b22b650a
1 changed files with 0 additions and 1 deletions
|
|
@ -353,7 +353,6 @@ pub async fn refresh_microsoft_account(
|
|||
let msa = refresh_msa_token(client, &creds.refresh_token).await?;
|
||||
let mut account = account_from_msa_token(client, msa, |_, _, _| {}).await?;
|
||||
account.id = creds.id;
|
||||
account.username = creds.username.clone();
|
||||
Ok(account)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue