vbc
This commit is contained in:
parent
c46242fca9
commit
a8b07ed205
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ class User(Base):
|
||||||
|
|
||||||
return g.db.query(UserBlock).filter(
|
return g.db.query(UserBlock).filter(
|
||||||
or_(and_(UserBlock.user_id == self.id, UserBlock.target_id == other.id), and_(
|
or_(and_(UserBlock.user_id == self.id, UserBlock.target_id == other.id), and_(
|
||||||
UserBlock.user_id == other.id, UserBlock.target_id == self.id))).one_or_none()
|
UserBlock.user_id == other.id, UserBlock.target_id == self.id))).first()
|
||||||
|
|
||||||
def validate_2fa(self, token):
|
def validate_2fa(self, token):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue