aboutsummaryrefslogtreecommitdiff
path: root/auth/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth.go')
-rw-r--r--auth/auth.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/auth/auth.go b/auth/auth.go
index a8d28c7..95ccd48 100644
--- a/auth/auth.go
+++ b/auth/auth.go
@@ -70,12 +70,17 @@ func openInBrowser(url string) {
}
if err != nil {
- fmt.Println("There was an error while launching your browser.", err)
+ fmt.Println("There was an error while launching your browser.")
fmt.Println("Please manually copy and paste the above URL into your web browser.")
+ fmt.Println(err)
}
}
func Logout() {
- deleteClientId()
deleteToken()
+ fmt.Println("Deleted user credentials.")
+ if confirmInput("Delete your Client ID? [y/N] ") {
+ fmt.Println("Deleting Client ID...")
+ deleteClientId()
+ }
}