mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
Enable LOGIN_URL to be configured
This commit is contained in:
@@ -217,8 +217,8 @@ CONSTANCE_DATABASE_CACHE_BACKEND = 'default'
|
||||
AUTHENTICATION_BACKENDS = (
|
||||
'seahub.base.accounts.AuthBackend',
|
||||
)
|
||||
|
||||
LOGIN_REDIRECT_URL = '/profile/'
|
||||
LOGIN_URL = SITE_ROOT + 'accounts/login'
|
||||
|
||||
ACCOUNT_ACTIVATION_DAYS = 7
|
||||
|
||||
@@ -608,10 +608,6 @@ if 'win32' in sys.platform:
|
||||
fp.write("%d\n" % os.getpid())
|
||||
fp.close()
|
||||
|
||||
# Put here after loading other settings files if `SITE_ROOT` is modified in
|
||||
# other settings files.
|
||||
LOGIN_URL = SITE_ROOT + 'accounts/login'
|
||||
|
||||
INNER_FILE_SERVER_ROOT = 'http://127.0.0.1:' + FILE_SERVER_PORT
|
||||
|
||||
CONSTANCE_CONFIG = {
|
||||
|
Reference in New Issue
Block a user