summaryrefslogtreecommitdiff
path: root/internal/server/common.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-11 15:27:46 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-11 15:37:54 +0200
commit242903aa810797102b14e27dda988fff7ab833cc (patch)
treedb9e567306b4923b81eda7a38084c322b683c98e /internal/server/common.go
parent565237c14a303a46d62d240b35c6f0082424256a (diff)
Client + Server: Set the current institute / custom server on adding
Diffstat (limited to 'internal/server/common.go')
-rw-r--r--internal/server/common.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/server/common.go b/internal/server/common.go
index 6f57c7f..fcba07f 100644
--- a/internal/server/common.go
+++ b/internal/server/common.go
@@ -5,9 +5,9 @@ import (
"time"
"github.com/eduvpn/eduvpn-common/internal/oauth"
- "github.com/eduvpn/eduvpn-common/types"
"github.com/eduvpn/eduvpn-common/internal/util"
"github.com/eduvpn/eduvpn-common/internal/wireguard"
+ "github.com/eduvpn/eduvpn-common/types"
)
// The base type for servers
@@ -155,8 +155,6 @@ func (servers *Servers) addInstituteAndCustom(
server = &InstituteAccessServer{}
}
- // Set the current server
- toAddServers.CurrentURL = url
instituteInitErr := server.init(
url,
discoServer.DisplayName,