mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
Add pubfile support
This commit is contained in:
@@ -169,6 +169,7 @@ INSTALLED_APPS = (
|
||||
'seahub.share',
|
||||
)
|
||||
|
||||
|
||||
AUTHENTICATION_BACKENDS = (
|
||||
'seahub.base.accounts.AuthBackend',
|
||||
)
|
||||
@@ -326,6 +327,12 @@ LOGGING = {
|
||||
SEND_EMAIL_ON_ADDING_SYSTEM_MEMBER = True # Whether to send email when a system staff adding new member.
|
||||
SEND_EMAIL_ON_RESETTING_USER_PASSWD = True # Whether to send email when a system staff resetting user's password.
|
||||
|
||||
##########################
|
||||
# Settings for Extra App #
|
||||
##########################
|
||||
|
||||
ENABLE_PUBFILE = False
|
||||
|
||||
#####################
|
||||
# External settings #
|
||||
#####################
|
||||
@@ -388,3 +395,4 @@ SEAFILE_VERSION = '1.6'
|
||||
# Put here after loading other settings files if `SITE_ROOT` is modified in
|
||||
# other settings files.
|
||||
LOGIN_URL = SITE_ROOT + 'accounts/login'
|
||||
|
||||
|
Reference in New Issue
Block a user