Add user role
This commit is contained in:
@@ -32,7 +32,7 @@ async def register(
|
||||
|
||||
# ✅ DEBUG: Log incoming registration data (without password)
|
||||
logger.info(f"Registration attempt for email: {user_data.email}")
|
||||
logger.debug(f"Registration data - email: {user_data.email}, full_name: {user_data.full_name}")
|
||||
logger.debug(f"Registration data - email: {user_data.email}, full_name: {user_data.full_name}, role: {user_data.role}")
|
||||
|
||||
try:
|
||||
# ✅ DEBUG: Validate input data
|
||||
|
||||
Reference in New Issue
Block a user