From 76e657db74c60a3478db3fa24ee77c09155b7a2a Mon Sep 17 00:00:00 2001 From: tickstep Date: Sun, 11 Aug 2024 16:26:20 +0800 Subject: [PATCH] fix login error --- internal/command/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/command/login.go b/internal/command/login.go index 918c885..3c4c4e6 100644 --- a/internal/command/login.go +++ b/internal/command/login.go @@ -138,7 +138,7 @@ func RunLogin() (ticketId string, openapiToken, webapiToken *config.PanClientTok fmt.Fprintf(loginUrl, "https://openapi.alipan.com/oauth/authorize?client_id=%s&redirect_uri=https%%3A%%2F%%2Fapi.tickstep.com%%2Fauth%%2Ftickstep%%2Faliyunpan%%2Ftoken%%2Fopenapi%%2F%s%%2Fauth2&scope=user:base,file:all:read,file:all:write", config.Config.ClientId, ticketId) } - //fmt.Printf("请在浏览器打开以下链接进行登录,链接有效时间为5分钟。\n注意:你需要进行一次授权一次扫码的两次登录。\n%s\n\n", loginUrl) + fmt.Printf("请在浏览器打开以下链接进行登录,链接有效时间为5分钟。\n注意:你需要进行一次授权一次扫码的两次登录。\n%s\n\n", loginUrl) // handler waiting line := cmdliner.NewLiner()