This commit is contained in:
Matt Wright
2012-08-22 16:37:07 -04:00
parent 53257c17a9
commit 5964a99e57
2 changed files with 1 additions and 4 deletions
+1 -2
View File
@@ -48,7 +48,6 @@ _default_config = {
'POST_CONFIRM_VIEW': None,
'POST_RESET_VIEW': None,
'UNAUTHORIZED_VIEW': None,
'DEFAULT_ROLES': [],
'CONFIRMABLE': False,
'REGISTERABLE': False,
'RECOVERABLE': False,
@@ -60,7 +59,7 @@ _default_config = {
'LOGIN_WITHOUT_CONFIRMATION': False,
'EMAIL_SENDER': 'no-reply@localhost',
'TOKEN_AUTHENTICATION_KEY': 'auth_token',
'TOKEN_AUTHENTICATION_HEADER': 'X-Auth-Token',
'TOKEN_AUTHENTICATION_HEADER': 'Authentication-Token',
'CONFIRM_SALT': 'confirm-salt',
'RESET_SALT': 'reset-salt',
'LOGIN_SALT': 'login-salt',
-2
View File
@@ -22,8 +22,6 @@ class UserDatastore(object):
:param user_model: A user model class definition
:param role_model: A role model class definition
"""
pwd_context = None
default_roles = []
def __init__(self, db, user_model, role_model):
self.db = db