Statistics
| Branch: | Tag: | Revision:

root / pithos / settings.d / 20-im.conf @ 390c7730

History | View | Annotate | Download (879 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
# Authenticate via Twitter.
6
TWITTER_KEY = ''
7
TWITTER_SECRET = ''
8

    
9
INVITATIONS_PER_LEVEL = {
10
    0   :   100,
11
    1   :   2,
12
    2   :   0,
13
    3   :   0,
14
    4   :   0
15
}
16

    
17
SERVICE_NAME = 'Pithos'
18

    
19
# Where users should login with their invitation code
20
INVITATION_LOGIN_TARGET = '%s/im/login/invitation?code=%d&next=%s'
21

    
22
# Where users should activate their local account
23
ACTIVATION_LOGIN_TARGET = '%s/im/local/activate/?auth=%s&next=%s'
24

    
25
# Where users should reset their local password
26
PASSWORD_RESET_TARGET = '%s/im/local/reset/?username=%s&next=%s'
27

    
28
# Identity Management enabled modules
29
IM_STANDARD_MODULES = ['local', 'invitation']
30
IM_OTHER_MODULES = ['twitter', 'shibboleth']
31

    
32
# Force user profile verification
33
FORCE_PROFILE_UPDATE = False