fixed non existing users column
This commit is contained in:
@ -176,8 +176,7 @@ def get_user(
|
|||||||
cur.execute(
|
cur.execute(
|
||||||
"""
|
"""
|
||||||
select username, password, role,
|
select username, password, role,
|
||||||
disabled, groups_ids,
|
disabled, last_seen_at, created_at
|
||||||
last_seen_at, created_at
|
|
||||||
from picrinth.users
|
from picrinth.users
|
||||||
where username = %s
|
where username = %s
|
||||||
""",
|
""",
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
from consts import SUPPORTED_PLATFORMS
|
from .consts import SUPPORTED_PLATFORMS
|
||||||
from decouple import config
|
from decouple import config
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user