diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-04-16 10:53:44 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <jeroenwijenbergh@protonmail.com> | 2024-04-16 12:33:15 +0200 |
| commit | b0ca6c446cdd430fc30b887eaa8360b28ac1fef3 (patch) | |
| tree | b510b6c4f32b8ad1d67fade6702163fd47b17885 /client | |
| parent | 731bd7eb4f2254dcce955ba748b48b1edfa541df (diff) | |
Client FSM: Allow to go to Disconnected from OAuthStarted
Useful when cancelling OAuth when on the connection screen
Diffstat (limited to 'client')
| -rw-r--r-- | client/fsm.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/fsm.go b/client/fsm.go index 175b832..0102c22 100644 --- a/client/fsm.go +++ b/client/fsm.go @@ -116,6 +116,7 @@ func newFSM( StateOAuthStarted: FSMState{ Transitions: []FSMTransition{ {To: StateMain, Description: "Authorized"}, + {To: StateDisconnected, Description: "Cancel, was disconnected"}, }, }, StateGettingConfig: FSMState{ |
