Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thoth2357 opened this issue Apr 14, 2024 · 1 comment

Comments

@thoth2357
Copy link
Contributor

thoth2357 commented Apr 14, 2024

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.

thoth2357 added a commit to thoth2357/full-stack-fastapi-mongodb that referenced this issue Apr 14, 2024
@thoth2357
Copy link
Contributor Author

Issue fixed with PR #37

blink1073 pushed a commit that referenced this issue Apr 15, 2024
thoth2357 added a commit to thoth2357/full-stack-fastapi-mongodb that referenced this issue Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants