From e6a81a692a5cc61d1135f9fde931f975edd24bdc Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 9 Mar 2023 10:45:08 +0100 Subject: [PATCH] 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 +++++ .../src/components/AuthTokenSetupDialogue.vue | 26 ++++++++++--------- dist/files-main.js | 4 +-- dist/files-main.js.map | 2 +- ...settings-vue-settings-personal-security.js | 4 +-- ...ings-vue-settings-personal-security.js.map | 2 +- 6 files changed, 27 insertions(+), 18 deletions(-) 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, } }, diff --git a/apps/settings/src/components/AuthTokenSetupDialogue.vue b/apps/settings/src/components/AuthTokenSetupDialogue.vue index 9ae2915d467..e2ef0aeae5a 100644 --- a/apps/settings/src/components/AuthTokenSetupDialogue.vue +++ b/apps/settings/src/components/AuthTokenSetupDialogue.vue @@ -21,18 +21,20 @@