From c6a5c07041d2e5d20771409aede8b755d28372ac Mon Sep 17 00:00:00 2001 From: Cyrille Bollu Date: Sat, 5 Feb 2022 20:49:17 +0100 Subject: Adds a "Request password" button to the public share authentication page for shares of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves. - Creates a migration step for the files_sharing app to add the 'password_expiration_time' attribute to the oc_shares table. - Makes share temporary passwords' expiration time configurable via a system value. - Adds a system config value to allow permanent share passwords -Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue See https://github.com/nextcloud/server/issues/31005 Signed-off-by: Cyrille Bollu --- apps/files_sharing/src/components/SharingEntryLink.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/files_sharing/src') diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 52215d37ec8..ee7e8d4b930 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -780,8 +780,8 @@ export default { /** * Uncheck password protection * We need this method because @update:checked - * is ran simultaneously as @uncheck, so - * so we cannot ensure data is up-to-date + * is ran simultaneously as @uncheck, so we + * cannot ensure data is up-to-date */ onPasswordDisable() { this.share.password = '' -- cgit v1.2.3