mirror of
https://github.com/simple-login/app.git
synced 2024-11-18 14:43:32 +08:00
style
This commit is contained in:
parent
258d505cbf
commit
e6192ece01
1 changed files with 1 additions and 2 deletions
|
@ -163,11 +163,11 @@ class AliasGeneratorEnum(EnumE):
|
||||||
uuid = 2 # aliases are generated based on uuid
|
uuid = 2 # aliases are generated based on uuid
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class AliasSuffixEnum(EnumE):
|
class AliasSuffixEnum(EnumE):
|
||||||
word = 0 # Random word from dictionary file
|
word = 0 # Random word from dictionary file
|
||||||
random_string = 1 # Completely random string
|
random_string = 1 # Completely random string
|
||||||
|
|
||||||
|
|
||||||
class Hibp(db.Model, ModelMixin):
|
class Hibp(db.Model, ModelMixin):
|
||||||
__tablename__ = "hibp"
|
__tablename__ = "hibp"
|
||||||
name = db.Column(db.String(), nullable=False, unique=True, index=True)
|
name = db.Column(db.String(), nullable=False, unique=True, index=True)
|
||||||
|
@ -177,7 +177,6 @@ class Hibp(db.Model, ModelMixin):
|
||||||
return f"<HIBP Breach {self.id} {self.name}>"
|
return f"<HIBP Breach {self.id} {self.name}>"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Fido(db.Model, ModelMixin):
|
class Fido(db.Model, ModelMixin):
|
||||||
__tablename__ = "fido"
|
__tablename__ = "fido"
|
||||||
credential_id = db.Column(db.String(), nullable=False, unique=True, index=True)
|
credential_id = db.Column(db.String(), nullable=False, unique=True, index=True)
|
||||||
|
|
Loading…
Reference in a new issue