mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-09 17:50:23 +08:00
fix 用户调整为使用名称做主键
add 插件API
This commit is contained in:
@@ -23,7 +23,7 @@ async def login_access_token(
|
||||
"""
|
||||
user = User.authenticate(
|
||||
db=db,
|
||||
email=form_data.username,
|
||||
name=form_data.username,
|
||||
password=form_data.password
|
||||
)
|
||||
if not user:
|
||||
|
||||
Reference in New Issue
Block a user