summaryrefslogtreecommitdiff
path: root/internal/server
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-04-26 12:43:58 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commit09ee57ccc9f66909bb87ecbbd5c38a5d5e8391f0 (patch)
tree64a19cadddf865ddb08d0fdfaff208e0cc60e682 /internal/server
parentc92c607c63dfd3c8dd1f2e8bc4d608448c7a3ed4 (diff)
Secure: Do not set current location as it is already done
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/secure/secure.go5
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