Commit 7b880892 authored by Stefano Sanfilippo's avatar Stefano Sanfilippo

Merge branch 'master' into macroster

parents 0caa4a25 953a7720
......@@ -193,7 +193,6 @@ class LoginAttempt(Base):
timestamp = Column(DateTime, nullable=False, default=datetime.now)
UniqueConstraint('username', 'ipaddress', name='user_ip_key')
Index('user_IP_login_attempt_idx', username, ipaddress, unique=True)
def __init__(self, username, ipaddress):
self.username = username
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment