diff options
| author | Jeroen Wijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-19 12:28:54 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-19 12:28:54 +0200 |
| commit | fb2f57cfcbb6408130e1cc75bd36c896502b78e0 (patch) | |
| tree | a8ce43925443d9152e7408edce7adb3307204361 /src/fsm.go | |
| parent | 1b798f8da29ad90506c6d716858ecb2dd782507f (diff) | |
OAuth improvements: Also ensure tokens based on config state
Diffstat (limited to 'src/fsm.go')
| -rw-r--r-- | src/fsm.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |
