mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 00:20:07 +00:00
[Issue #47] Enable signup on seahub.
This commit is contained in:
@@ -6,7 +6,8 @@ and returns a dictionary to add to the context.
|
||||
These are referenced from the setting TEMPLATE_CONTEXT_PROCESSORS and used by
|
||||
RequestContext.
|
||||
"""
|
||||
from settings import SEAFILE_VERSION, SITE_TITLE, SITE_NAME, SITE_BASE
|
||||
from settings import SEAFILE_VERSION, SITE_TITLE, SITE_NAME, SITE_BASE, \
|
||||
ENABLE_SIGNUP
|
||||
try:
|
||||
from settings import BUSINESS_MODE
|
||||
except ImportError:
|
||||
@@ -34,5 +35,6 @@ def base(request):
|
||||
'org': org,
|
||||
'base_template': base_template,
|
||||
'site_name': SITE_NAME,
|
||||
'enable_signup': ENABLE_SIGNUP,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user