mirror of
https://github.com/wassname/flask-security.git
synced 2026-09-09 11:22:35 +08:00
Simplify exceptions
This commit is contained in:
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user