1 # Set the expiration time of newly created auth tokens
2 # to be this many hours after their creation time.
3 AUTH_TOKEN_DURATION = 30 * 24
5 # Bypass authentication for user administration.
6 BYPASS_ADMIN_AUTH = False
8 # Show these many users per page in admin interface.
11 # Authenticate via Twitter.
15 INVITATIONS_PER_LEVEL = {
23 SERVICE_NAME = 'Pithos'
25 # Address to use for outgoing emails
26 DEFAULT_FROM_EMAIL = 'Pithos <no-reply@grnet.gr>'
27 DEFAULT_CONTACT_EMAIL = 'support@pithos.grnet.gr'
29 # Where users should signup with their invitation code
30 SIGNUP_TARGET = '%s/im/signup/?code=%d&next=%s'
32 # Where users should activate their local account
33 ACTIVATION_LOGIN_TARGET = '%s/im/local/activate/?auth=%s&next=%s'
35 # Where users should reset their local password
36 PASSWORD_RESET_TARGET = '%s/im/local/reset/?username=%s&next=%s'
38 # Identity Management enabled modules
39 IM_MODULES = ['local', 'twitter', 'shibboleth']
41 # Force user profile verification
42 FORCE_PROFILE_UPDATE = False
45 INVITATIONS_ENABLED = True