summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.go b/cli/main.go
index 6e12848..a9a1167 100644
--- a/cli/main.go
+++ b/cli/main.go
@@ -20,7 +20,7 @@ func openBrowser(urlString string) {
func logState(oldState string, newState string, data string) {
fmt.Printf("State: %s -> State: %s with data %s\n", oldState, newState, data)
- if newState == "SERVER_OAUTH_STARTED" {
+ if newState == "OAuth_Started" {
openBrowser(data)
}
}