diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-04-18 10:11:24 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-04-18 14:05:19 +0200 |
| commit | 445838445891e349cee4d85762cc1423f8249b24 (patch) | |
| tree | bc16e33a34f879bc2fd1ca3061f33279bf951baa /client/server.go | |
| parent | f18d4e4d201ebda35f7c5b8c6f6c826da0d60854 (diff) | |
Client + Server: Set default secure internet location
Diffstat (limited to 'client/server.go')
| -rw-r--r-- | client/server.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/client/server.go b/client/server.go index 80620dd..9d3b3b4 100644 --- a/client/server.go +++ b/client/server.go @@ -303,14 +303,6 @@ func (c *Client) AddSecureInternetHomeServer(orgID string) (srv server.Server, e return nil, err } - // TODO(jwijenbergh): Does this call transfers execution flow to UI? - if err = c.askSecureLocation(); err != nil { - // Removing is the best effort - // This already goes back to the main screen - _ = c.RemoveSecureInternet() - return nil, err - } - // Set the server as the current so OAuth can be cancelled if err = c.Servers.SetSecureInternet(srv); err != nil { c.goBackInternal() |
