From e6a81a692a5cc61d1135f9fde931f975edd24bdc Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 9 Mar 2023 10:45:08 +0100 Subject: add a direct link from files settings to app-token-settings Signed-off-by: Simon L Signed-off-by: nextcloud-command --- apps/files/src/views/Settings.vue | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/files/src') diff --git a/apps/files/src/views/Settings.vue b/apps/files/src/views/Settings.vue index 1319b1f1808..f26c0b2e3fc 100644 --- a/apps/files/src/views/Settings.vue +++ b/apps/files/src/views/Settings.vue @@ -65,6 +65,12 @@ {{ t('files', 'Use this address to access your Files via WebDAV') }} ↗ +
+ + + {{ t('files', 'If you have enabled 2FA, you must create and use a new app password by clicking here.') }} + + @@ -119,6 +125,7 @@ export default { // Webdav infos webdavUrl: generateRemoteUrl('dav/files/' + encodeURIComponent(getCurrentUser()?.uid)), webdavDocs: 'https://docs.nextcloud.com/server/stable/go.php?to=user-webdav', + appPasswordUrl: generateUrl('/settings/user/security#generate-app-token-section'), webdavUrlCopied: false, } }, -- cgit v1.2.3