# Set the expiration time of newly created auth tokens
# to be this many hours after their creation time.
AUTH_TOKEN_DURATION = 30 * 24

# Authenticate via Twitter.
TWITTER_KEY = ''
TWITTER_SECRET = ''

INVITATIONS_PER_LEVEL = {
    0   :   100,
    1   :   2,
    2   :   0,
    3   :   0,
    4   :   0
}

SERVICE_NAME = 'Pithos'

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

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

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

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

# Force user profile verification
FORCE_PROFILE_UPDATE = False
