From 020cb041d33f22339cb0fb6cd2d7b74fa8359da8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Voron?= Date: Mon, 7 Feb 2022 08:39:20 +0100 Subject: [PATCH] Fix #904: Wrong model config in MongoDB OAuth example --- examples/mongodb-oauth/app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mongodb-oauth/app/models.py b/examples/mongodb-oauth/app/models.py index e2392e25..04050f8a 100644 --- a/examples/mongodb-oauth/app/models.py +++ b/examples/mongodb-oauth/app/models.py @@ -1,7 +1,7 @@ from fastapi_users import models -class User(models.BaseUser): +class User(models.BaseUser, models.BaseOAuthAccountMixin): pass