From: Simon L Date: Thu, 9 Mar 2023 09:45:08 +0000 (+0100) Subject: add a direct link from files settings to app-token-settings X-Git-Tag: v27.0.0beta1~354^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e6a81a692a5cc61d1135f9fde931f975edd24bdc;p=nextcloud-server.git add a direct link from files settings to app-token-settings Signed-off-by: Simon L Signed-off-by: nextcloud-command --- 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 @@