#SWAG
This commit is contained in:
parent
c77f9150db
commit
19661989a7
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ login_manager.init_app(app)
|
||||||
|
|
||||||
@login_manager.user_loader
|
@login_manager.user_loader
|
||||||
def load_user(userid):
|
def load_user(userid):
|
||||||
|
1/0
|
||||||
|
|
||||||
return User.query.filter_by(id=userid).first()
|
return User.query.filter_by(id=userid).first()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue