changes
This commit is contained in:
@@ -8,6 +8,8 @@ from sqlalchemy import Column, Integer, String, DateTime, Boolean, ForeignKey, U
|
||||
from sqlalchemy.orm import relationship
|
||||
|
||||
from app.models.base import BaseModel
|
||||
from sqlalchemy import Text
|
||||
from app.models.audit import LoginAttempt as _AuditLoginAttempt
|
||||
|
||||
|
||||
class RefreshToken(BaseModel):
|
||||
@@ -32,3 +34,8 @@ class RefreshToken(BaseModel):
|
||||
)
|
||||
|
||||
|
||||
"""
|
||||
Expose `LoginAttempt` from `app.models.audit` here for backward compatibility.
|
||||
"""
|
||||
LoginAttempt = _AuditLoginAttempt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user