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:
@@ -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 ?
|
||||||
|
@@ -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') },
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user