root / synnefo / settings / common / invitations.py @ c3e5f0bc
History | View | Annotate | Download (454 Bytes)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
#
|
3 |
# Invitations settings
|
4 |
##################################
|
5 |
|
6 |
|
7 |
# Max number of invitations allowed per level
|
8 |
INVITATIONS_PER_LEVEL = { |
9 |
#Level #Max Invitations
|
10 |
0 : 10000, |
11 |
1 : 3, |
12 |
2 : 2, |
13 |
3 : 1, |
14 |
4 : 0 |
15 |
} |
16 |
|
17 |
# Key to encrypt X-Auth-Token with when sending invitations
|
18 |
INVITATION_ENCR_KEY = '8d342f6e7a0366c632978a80257019af'
|
19 |
|
20 |
# Days for which an invitation is active
|
21 |
INVITATION_VALID_DAYS = 180
|