summaryrefslogtreecommitdiffstats
path: root/apps/settings/src/components/AuthToken.vue
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2022-07-21 12:38:15 +0200
committerjld3103 <jld3103yt@gmail.com>2022-07-21 12:39:44 +0200
commit6c2ea4b29cea854deefadf84359caf095b1bd413 (patch)
treeaaf0c6cbf0f88e5badb8713744ffcfa027f6e73e /apps/settings/src/components/AuthToken.vue
parentafedfad4990af207be426e46750c9b3b07651e48 (diff)
downloadnextcloud-server-6c2ea4b29cea854deefadf84359caf095b1bd413.tar.gz
nextcloud-server-6c2ea4b29cea854deefadf84359caf095b1bd413.zip
Add Neon user-agent
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/settings/src/components/AuthToken.vue')
-rw-r--r--apps/settings/src/components/AuthToken.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings/src/components/AuthToken.vue b/apps/settings/src/components/AuthToken.vue
index eb42e763b46..fa89ed65260 100644
--- a/apps/settings/src/components/AuthToken.vue
+++ b/apps/settings/src/components/AuthToken.vue
@@ -116,6 +116,8 @@ const userAgentMap = {
webPirate: /(Sailfish).*WebPirate\/(\d+)/,
// Mozilla/5.0 (Maemo; Linux; U; Jolla; Sailfish; Mobile; rv:31.0) Gecko/31.0 Firefox/31.0 SailfishBrowser/1.0
sailfishBrowser: /(Sailfish).*SailfishBrowser\/(\d+)/,
+ // Neon 1.0.0+1
+ neon: /Neon \d+\.\d+\.\d+\+\d+/,
}
const nameMap = {
ie: t('setting', 'Internet Explorer'),
@@ -133,6 +135,7 @@ const nameMap = {
davx5: 'DAVx5',
webPirate: 'WebPirate',
sailfishBrowser: 'SailfishBrowser',
+ neon: 'Neon',
}
const iconMap = {
ie: 'icon-desktop',