First commit of passwordless login

This commit is contained in:
Matt Wright
2012-08-14 19:01:49 -04:00
parent ce6c5dcf31
commit 318cb3dc6e
15 changed files with 291 additions and 21 deletions
+8
View File
@@ -63,3 +63,11 @@ class ConfirmationError(SecurityError):
class ResetPasswordError(SecurityError):
"""Raised when a password reset error occurs
"""
class PasswordlessLoginError(SecurityError):
"""Raised when a passwordless login error occurs
"""
def __init__(self, message=None, user=None, next=None):
super(PasswordlessLoginError, self).__init__(message, user)
self.next = next