Merge pull request #737 from hoellen/fix-alias-match-behaviour

fix alias match behaviour
This commit is contained in:
ofthesun9
2018-12-13 20:34:09 +01:00
committed by GitHub

View File

@@ -426,7 +426,7 @@ class Alias(Base, Email):
)
)
)
).first()
).order_by(cls.wildcard, sqlalchemy.func.char_length(cls.localpart).desc()).first()
class Token(Base):