creating users from oidc id token

This commit is contained in:
Tobias Kurze
2019-03-26 16:17:18 +01:00
parent cad27733f0
commit ed57dc2720
3 changed files with 10 additions and 4 deletions

View File

@@ -74,8 +74,8 @@ class User(UserMixin, db.Model):
:return:
"""
return User.query.filter(or_(User.nickname == identifier,
User.email == identifier),
User.id == identifier).first()
User.email == identifier,
User.id == identifier)).first()
@staticmethod
def get_all():