X-Git-Url: https://code.grnet.gr/git/pithos/blobdiff_plain/1a91f0de84a150d667088b24d729b1b8f3138b4b..bee5ffa6f73770e97579db6bbc4b25641c83841a:/pithos/settings.py.dist diff --git a/pithos/settings.py.dist b/pithos/settings.py.dist index ef24bae..df3c426 100644 --- a/pithos/settings.py.dist +++ b/pithos/settings.py.dist @@ -172,17 +172,37 @@ FEEDBACK_FROM_EMAIL = DEFAULT_FROM_EMAIL FEEDBACK_CONTACT_EMAIL = 'support@pithos.grnet.gr' INVITATIONS_PER_LEVEL = { - 0 : 1000, - 1 : 0, + 0 : 100, + 1 : 2, 2 : 0, 3 : 0, 4 : 0 } +BASE_URL = '' + +SERVICE_NAME = 'Pithos+' + +SUPPORT_EMAIL = '' + # Where users should login with their invitation code INVITATION_LOGIN_TARGET = 'https://pithos.dev.grnet.gr/im/login/invitation' \ '?code=%d' \ '&next=https://pithos.dev.grnet.gr/ui' +# Where users should activate their local account +ACTIVATION_LOGIN_TARGET = BASEPATH + 'im/login/local/activate/' \ + '?auth=%s' \ + '&next=' + BASE_URL + 'im/login' + +# Where users should reset their local password +PASSWORD_RESET_TARGET = BASE_URL + 'im/login/local/reset/' \ + '?auth=%s' \ + '&next=' + BASE_URL + 'im/login?next=' + BASE_URL + 'ui' + + +# The server is behind a proy (apache and gunicorn setup). +USE_X_FORWARDED_HOST = False + # Use to log to a file. LOGFILE = None