From fb2f57cfcbb6408130e1cc75bd36c896502b78e0 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Tue, 19 Apr 2022 12:28:54 +0200 Subject: OAuth improvements: Also ensure tokens based on config state --- src/fsm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fsm.go') diff --git a/src/fsm.go b/src/fsm.go index fa2a5c4..0ed7a37 100644 --- a/src/fsm.go +++ b/src/fsm.go @@ -141,7 +141,7 @@ func (eduvpn *VPNState) InitializeFSM() { NO_SERVER: {{CHOSEN_SERVER, "User chooses a server"}}, CHOSEN_SERVER: {{AUTHENTICATED, "Found tokens in config"}, {OAUTH_STARTED, "No tokens found in config"}}, OAUTH_STARTED: {{AUTHENTICATED, "User authorizes with browser"}}, - AUTHENTICATED: {{CONNECTED, "OS reports connected"}}, + AUTHENTICATED: {{CONNECTED, "OS reports connected"}, {OAUTH_STARTED, "Re-authenticate with OAuth"}}, CONNECTED: {{AUTHENTICATED, "OS reports disconnected"}}, }, Current: DEREGISTERED, -- cgit v1.2.3