root / pithos / settings.d / 20-im.conf @ fe243425
History | View | Annotate | Download (1.1 kB)
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 |
INVITATIONS_PER_LEVEL = { |
16 |
0 : 100, |
17 |
1 : 2, |
18 |
2 : 0, |
19 |
3 : 0, |
20 |
4 : 0 |
21 |
} |
22 |
|
23 |
SERVICE_NAME = 'Pithos' |
24 |
|
25 |
# Address to use for outgoing emails |
26 |
DEFAULT_FROM_EMAIL = 'Pithos <no-reply@grnet.gr>' |
27 |
DEFAULT_CONTACT_EMAIL = 'support@pithos.grnet.gr' |
28 |
|
29 |
# Where users should login with their invitation code |
30 |
INVITATION_LOGIN_TARGET = '%s/im/login/invitation?code=%d&next=%s' |
31 |
|
32 |
# Where users should activate their local account |
33 |
ACTIVATION_LOGIN_TARGET = '%s/im/local/activate/?auth=%s&next=%s' |
34 |
|
35 |
# Where users should reset their local password |
36 |
PASSWORD_RESET_TARGET = '%s/im/local/reset/?username=%s&next=%s' |
37 |
|
38 |
# Identity Management enabled modules |
39 |
IM_STANDARD_MODULES = ['local', 'invitation'] |
40 |
IM_OTHER_MODULES = ['twitter', 'shibboleth'] |
41 |
|
42 |
# Force user profile verification |
43 |
FORCE_PROFILE_UPDATE = False |