You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
In router/auth.py, the current implementation does not handle invalid user types (neither "user" nor "organization"). This can lead to errors during authentication.
Suggested Improvements
Return Error for Invalid Types:
If the user type is not "user" or "organization," return an error message.
The text was updated successfully, but these errors were encountered:
Description
In router/auth.py, the current implementation does not handle invalid user types (neither "user" nor "organization"). This can lead to errors during authentication.
Suggested Improvements
Return Error for Invalid Types:
If the user type is not "user" or "organization," return an error message.
The text was updated successfully, but these errors were encountered: