Statistics
| Branch: | Tag: | Revision:

root / settings.d / 50-invitations.conf @ 5039a44f

History | View | Annotate | Download (393 Bytes)

1 1277fb19 Vangelis Koukis
# -*- coding: utf-8 -*-
2 1277fb19 Vangelis Koukis
3 9f8ad4c5 Georgios Gousios
# Max number of invitations allowed per level
4 9f8ad4c5 Georgios Gousios
INVITATIONS_PER_LEVEL = {
5 9f8ad4c5 Georgios Gousios
   #Level  #Max Invitations
6 9f8ad4c5 Georgios Gousios
    0   :   10000,
7 9f8ad4c5 Georgios Gousios
    1   :   3,
8 9f8ad4c5 Georgios Gousios
    2   :   2,
9 9f8ad4c5 Georgios Gousios
    3   :   1,
10 9f8ad4c5 Georgios Gousios
    4   :   0
11 9f8ad4c5 Georgios Gousios
}
12 1277fb19 Vangelis Koukis
13 1277fb19 Vangelis Koukis
# Key to encrypt X-Auth-Token with when sending invitations
14 1277fb19 Vangelis Koukis
INVITATION_ENCR_KEY = '8d342f6e7a0366c632978a80257019af'
15 1277fb19 Vangelis Koukis
16 1277fb19 Vangelis Koukis
# Days for which an invitation is active
17 9f8ad4c5 Georgios Gousios
INVITATION_VALID_DAYS = 180