1
0

Launcher Auth (#450)

* Launcher Auth

* Finish auth

* final fixes
This commit is contained in:
Geometrically
2023-08-04 23:38:34 -07:00
committed by GitHub
parent a35dd67b77
commit 47e28d24c8
38 changed files with 1200 additions and 477 deletions

View File

@@ -24,8 +24,8 @@ pub async fn authenticate_run() -> theseus::Result<Credentials> {
let credentials = auth::authenticate_await_complete_flow().await?;
State::sync().await?;
println!("Logged in user {}.", credentials.username);
Ok(credentials)
println!("Logged in user {}.", credentials.0.username);
Ok(credentials.0)
}
#[tokio::main]