1
0
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:
plt
2013-05-17 11:12:32 +08:00
parent 3049aaa61c
commit e48fea29c8
16 changed files with 125 additions and 31 deletions

View File

@@ -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'