Simplify exceptions

This commit is contained in:
Matt Wright
2012-07-12 14:40:20 -04:00
parent aba98a3a03
commit ed8082868f
4 changed files with 31 additions and 47 deletions
-6
View File
@@ -66,12 +66,6 @@ class ConfirmationError(SecurityError):
"""
class TokenExpiredError(SecurityError):
"""Raised when a user attempts to confirm their email but their token
has expired
"""
class ConfirmationRequiredError(SecurityError):
"""Raised when a user attempts to login but requires confirmation
"""