1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 07:41:26 +00:00

update webdav access (#6554)

This commit is contained in:
lian
2024-08-14 15:38:17 +08:00
committed by GitHub
parent e1a4aee6f8
commit ce80271270
3 changed files with 3 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ class WebdavPassword extends React.Component {
return ( return (
<React.Fragment> <React.Fragment>
<div id="update-webdav-passwd" className="setting-item"> <div id="update-webdav-passwd" className="setting-item">
<h3 className="setting-item-heading">{gettext('WebDAV Password')}</h3> <h3 className="setting-item-heading">{gettext('WebDAV Access')}</h3>
<p>WebDAV URL: <a href={webdavUrl}>{webdavUrl}</a></p> <p>WebDAV URL: <a href={webdavUrl}>{webdavUrl}</a></p>
<p>{gettext('WebDAV username:')} {username}</p> <p>{gettext('WebDAV username:')} {username}</p>
{!isWebdavPasswordSetted ? {!isWebdavPasswordSetted ?

View File

@@ -54,7 +54,7 @@ class Settings extends React.Component {
{ show: true, href: '#user-basic-info', text: gettext('Profile') }, { show: true, href: '#user-basic-info', text: gettext('Profile') },
{ show: canUpdatePassword, href: '#update-user-passwd', text: gettext('Password') }, { show: canUpdatePassword, href: '#update-user-passwd', text: gettext('Password') },
{ show: enableGetAuthToken, href: '#get-auth-token', text: gettext('Web API Auth Token') }, { show: enableGetAuthToken, href: '#get-auth-token', text: gettext('Web API Auth Token') },
{ show: enableWebdavSecret, href: '#update-webdav-passwd', text: gettext('WebDav Password') }, { show: enableWebdavSecret, href: '#update-webdav-passwd', text: gettext('WebDav Access') },
{ show: enableAddressBook, href: '#list-in-address-book', text: gettext('Global Address Book') }, { show: enableAddressBook, href: '#list-in-address-book', text: gettext('Global Address Book') },
{ show: true, href: '#lang-setting', text: gettext('Language') }, { show: true, href: '#lang-setting', text: gettext('Language') },
{ show: isPro, href: '#email-notice', text: gettext('Email Notification') }, { show: isPro, href: '#email-notice', text: gettext('Email Notification') },

View File

@@ -756,7 +756,7 @@ ENABLE_PDF_THUMBNAIL = True
# template for create new office file # template for create new office file
OFFICE_TEMPLATE_ROOT = os.path.join(MEDIA_ROOT, 'office-template') OFFICE_TEMPLATE_ROOT = os.path.join(MEDIA_ROOT, 'office-template')
ENABLE_WEBDAV_SECRET = False ENABLE_WEBDAV_SECRET = True
WEBDAV_SECRET_MIN_LENGTH = 1 WEBDAV_SECRET_MIN_LENGTH = 1
WEBDAV_SECRET_STRENGTH_LEVEL = 1 WEBDAV_SECRET_STRENGTH_LEVEL = 1