Statistics
| Branch: | Tag: | Revision:

root / astakos / settings.d / 20-im.conf @ 1e685275

History | View | Annotate | Download (1019 Bytes)

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
4

    
5
# Bypass authentication for user administration.
6
BYPASS_ADMIN_AUTH = False
7

    
8
# Show these many users per page in admin interface.
9
ADMIN_PAGE_LIMIT = 100
10

    
11
# Authenticate via Twitter.
12
TWITTER_KEY = ''
13
TWITTER_SECRET = ''
14

    
15
DEFAULT_USER_LEVEL = 4
16

    
17
INVITATIONS_PER_LEVEL = {
18
    0   :   100,
19
    1   :   2,
20
    2   :   0,
21
    3   :   0,
22
    4   :   0
23
}
24

    
25
# Address to use for outgoing emails
26
DEFAULT_FROM_EMAIL = '%s <no-reply@grnet.gr>'
27
DEFAULT_CONTACT_EMAIL = 'support@%s.grnet.gr'
28

    
29
# Identity Management enabled modules
30
IM_MODULES = ['local', 'twitter', 'shibboleth']
31

    
32
# Force user profile verification
33
FORCE_PROFILE_UPDATE = True
34

    
35
#Enable invitations
36
INVITATIONS_ENABLED = True
37

    
38
# The URL where requests are redirected for login, especially when using the login_required() decorator.
39
LOGIN_URL = '/im'
40

    
41
COOKIE_NAME = '_pithos2_a'
42
COOKIE_DOMAIN = None
43

    
44
IM_MEDIA_URL = '/im/static/im/'
45