aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-03-09 10:45:08 +0100
committernextcloud-command <nextcloud-command@users.noreply.github.com>2023-03-09 11:26:09 +0000
commite6a81a692a5cc61d1135f9fde931f975edd24bdc (patch)
treea9333ba1761dd96610dde943efdd3c34ac4ada2d /apps/files
parent691aa8d0257e9361bbc5a64b09cd634435dbd40a (diff)
downloadnextcloud-server-e6a81a692a5cc61d1135f9fde931f975edd24bdc.tar.gz
nextcloud-server-e6a81a692a5cc61d1135f9fde931f975edd24bdc.zip
add a direct link from files settings to app-token-settings
Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/src/views/Settings.vue7
1 files changed, 7 insertions, 0 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') }} ↗
</a>
</em>
+ <br />
+ <em>
+ <a :href="appPasswordUrl">
+ {{ t('files', 'If you have enabled 2FA, you must create and use a new app password by clicking here.') }}
+ </a>
+ </em>
</NcAppSettingsSection>
</NcAppSettingsDialog>
</template>
@@ -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,
}
},