Updated generate_token to use encrypt the entire url.

Created notify_client.sender to hold the methods to send notifications.
This commit is contained in:
Rebecca Law
2016-01-11 15:17:00 +00:00
parent dd242752c7
commit 05695a1c03
13 changed files with 113 additions and 93 deletions

View File

@@ -29,7 +29,7 @@ class Config(object):
SECRET_KEY = 'secret-key'
HTTP_PROTOCOL = 'http'
DANGEROUS_SALT = 'itsdangeroussalt'
TOKEN_MAX_AGE_SECONDS = 120000
TOKEN_MAX_AGE_SECONDS = 3600
class Development(Config):