mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 01:28:35 +02:00
Keep existing token until auth login succeeds
This commit is contained in:
@@ -79,7 +79,6 @@ pub async fn run(args: AuthArgs) -> i32 {
|
|||||||
|
|
||||||
async fn login() -> CommandResult {
|
async fn login() -> CommandResult {
|
||||||
let environment = current_environment();
|
let environment = current_environment();
|
||||||
delete_auth_token(environment)?;
|
|
||||||
|
|
||||||
let listener = TcpListener::bind("127.0.0.1:0")
|
let listener = TcpListener::bind("127.0.0.1:0")
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user