diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-03-01 15:13:35 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-03-01 15:13:35 +0100 |
| commit | 2001884c50d8b4a33a45ff6bc8eeb8cfb1feea7f (patch) | |
| tree | 65c8bd46821fbf3a98164386b97295fc7c8b742e | |
| parent | cba5c939a73ed42de1e7db5bbf9e40158e08e04c (diff) | |
Client: Make user agent equal to client ID names
See https://git.sr.ht/~fkooman/vpn-user-portal/tree/v3/item/src/OAuth/VpnClientDb.php
| -rw-r--r-- | client/client.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/client/client.go b/client/client.go index 613c441..0dad8c8 100644 --- a/client/client.go +++ b/client/client.go @@ -64,25 +64,25 @@ func isAllowedClientID(clientID string) bool { func userAgentName(clientID string) string { switch clientID { case "org.eduvpn.app.windows": - return "eduVPN Windows" + return "eduVPN for Windows" case "org.eduvpn.app.android": - return "eduVPN Android" + return "eduVPN for Android" case "org.eduvpn.app.ios": - return "eduVPN iOS" + return "eduVPN for iOS" case "org.eduvpn.app.macos": - return "eduVPN MacOS" + return "eduVPN for macOS" case "org.eduvpn.app.linux": - return "eduVPN Linux" + return "eduVPN for Linux" case "org.letsconnect-vpn.app.windows": - return "Let's Connect! Windows" + return "Let's Connect! for Windows" case "org.letsconnect-vpn.app.android": - return "Let's Connect! Android" + return "Let's Connect! for Android" case "org.letsconnect-vpn.app.ios": - return "Let's Connect! iOS" + return "Let's Connect! for iOS" case "org.letsconnect-vpn.app.macos": - return "Let's Connect! MacOS" + return "Let's Connect! for macOS" case "org.letsconnect-vpn.app.linux": - return "Let's Connect! Linux" + return "Let's Connect! for Linux" default: return "unknown" } |
