mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Remove Black as dependency
This commit is contained in:
parent
d5768cf101
commit
96f56a69b3
3 changed files with 2 additions and 89 deletions
|
@ -81,7 +81,7 @@ def create_app(): # pylint: disable=R0914
|
|||
login_manager.login_view = "onlylegs.index"
|
||||
|
||||
@login_manager.user_loader
|
||||
def load_user(user_id):
|
||||
def load_user(user_id): # skipcq: PTC-W0065
|
||||
return User.query.filter_by(alt_id=user_id).first()
|
||||
|
||||
@login_manager.unauthorized_handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue