mongodb-labs/full-stack-fastapi-mongodb

TypeError: CRUDUser.is_active() missing 1 required positional argument: 'user'

Closed this issue · 1 comments

Error:

TypeError: CRUDUser.is_active() missing 1 required positional argument: 'user'

How To Reproduce

The Error occurs when you try to login with the /oauth route using either the admin credentials or normal user credentials, The static method to check user Active status fails with missing positional argument user.

Issue fixed with PR #37