diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-04-26 12:43:58 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | 09ee57ccc9f66909bb87ecbbd5c38a5d5e8391f0 (patch) | |
| tree | 64a19cadddf865ddb08d0fdfaff208e0cc60e682 | |
| parent | c92c607c63dfd3c8dd1f2e8bc4d608448c7a3ed4 (diff) | |
Secure: Do not set current location as it is already done
| -rw-r--r-- | internal/server/secure/secure.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/server/secure/secure.go b/internal/server/secure/secure.go index 6fed010..bdddb93 100644 --- a/internal/server/secure/secure.go +++ b/internal/server/secure/secure.go @@ -119,11 +119,6 @@ func (s *Server) Init( return err } - // Set the current location to the home location if there is none - if s.CurrentLocation == "" { - s.CurrentLocation = homeLoc.CountryCode - } - // Make sure oauth contains our endpoints s.Auth.Init(b.URL, b.Endpoints.API.V3.Authorization, b.Endpoints.API.V3.Token) return nil |
