From 242903aa810797102b14e27dda988fff7ab833cc Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 11 Oct 2022 15:27:46 +0200 Subject: Client + Server: Set the current institute / custom server on adding --- internal/server/common.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'internal/server/common.go') 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, -- cgit v1.2.3