summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-02-10 10:05:24 +0100
committerJoas Schilling <coding@schilljs.com>2017-02-10 10:10:21 +0100
commit33fb86f68b827692f242107380e4cf3d42f90658 (patch)
tree5fa2bee19237cf832b2be8be2c7c3210192cf123 /settings/js
parent397feb9e8ddefcb04ac201bc64fa04ac9b41c7ca (diff)
downloadnextcloud-server-33fb86f68b827692f242107380e4cf3d42f90658.tar.gz
nextcloud-server-33fb86f68b827692f242107380e4cf3d42f90658.zip
Fix detection of the new iOS app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/authtoken_view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js
index a81e05cb3ed..365057b5fc6 100644
--- a/settings/js/authtoken_view.js
+++ b/settings/js/authtoken_view.js
@@ -131,7 +131,7 @@
androidChrome: /Android.*(?:; (.*) Build\/).*Chrome\/(\d+)[0-9.]+/,
iphone: / *CPU +iPhone +OS +([0-9]+)_(?:[0-9_])+ +like +Mac +OS +X */,
ipad: /\(iPad\; *CPU +OS +([0-9]+)_(?:[0-9_])+ +like +Mac +OS +X */,
- iosClient: /^Mozilla\/5\.0 \(iOS\) ownCloud\-iOS.*$/,
+ iosClient: /^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/,
androidClient:/^Mozilla\/5\.0 \(Android\) ownCloud\-android.*$/,
// DAVdroid/1.2 (2016/07/03; dav4android; okhttp3) Android/6.0.1
davDroid: /DAVdroid\/([0-9.]+)/,