Make sure to verify service names on key creation

This commit is contained in:
Joseph Schorr 2016-04-14 16:56:15 -04:00 committed by Jimmy Zelinskie
parent dc9bcec9ce
commit 28a80ef6a9
3 changed files with 24 additions and 1 deletions

View file

@ -84,6 +84,10 @@ class ServiceKeyAlreadyApproved(DataModelException):
pass
class ServiceNameInvalid(DataModelException):
pass
class TooManyLoginAttemptsException(Exception):
def __init__(self, message, retry_after):
super(TooManyLoginAttemptsException, self).__init__(message)