service keys: do all the right stuff
This commit is contained in:
parent
6ecff950ab
commit
4079dba167
7 changed files with 149 additions and 41 deletions
|
@ -80,6 +80,10 @@ class ServiceKeyDoesNotExist(DataModelException):
|
|||
pass
|
||||
|
||||
|
||||
class ServiceKeyAlreadyApproved(DataModelException):
|
||||
pass
|
||||
|
||||
|
||||
class TooManyLoginAttemptsException(Exception):
|
||||
def __init__(self, message, retry_after):
|
||||
super(TooManyLoginAttemptsException, self).__init__(message)
|
||||
|
|
Reference in a new issue