mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-11-02 12:21:53 +08:00
Fix #904: Wrong model config in MongoDB OAuth example
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
from fastapi_users import models
|
||||
|
||||
|
||||
class User(models.BaseUser):
|
||||
class User(models.BaseUser, models.BaseOAuthAccountMixin):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user