Kerims23 / user_management

MIT License
0 stars 0 forks source link

Token validation admin role removed #3

Closed Kerims23 closed 3 hours ago

Kerims23 commented 4 hours ago

When the token is validated the administrative role is removed from the user

Kerims23 commented 4 hours ago

This happened when I ran the docker compose exec fastapi alembic upgrade head and executed a login for the first user.

Kerims23 commented 3 hours ago

When creating the first user that needs to be admin it was giving problems because the verify_email_with_token was not properly authenticating the admin. This solution is fixed in the in the issue#3 branch.