diff --git a/backend/auth_service/app/__pycache__/main.cpython-311.pyc b/backend/auth_service/app/__pycache__/main.cpython-311.pyc index c9eefad..8a87473 100644 Binary files a/backend/auth_service/app/__pycache__/main.cpython-311.pyc and b/backend/auth_service/app/__pycache__/main.cpython-311.pyc differ diff --git a/backend/auth_service/app/main.py b/backend/auth_service/app/main.py index 01f07ab..86cbce9 100644 --- a/backend/auth_service/app/main.py +++ b/backend/auth_service/app/main.py @@ -147,6 +147,8 @@ async def register_user(user_data: UserCreate, db: AsyncSession = Depends(get_db expires_in=3600, user=UserResponse.from_orm(user) ) + except HTTPException: + raise # 直接传递 HTTPException(如密码强度不够) except Exception as e: raise HTTPException( status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, diff --git a/backend/shared/__pycache__/config.cpython-311.pyc b/backend/shared/__pycache__/config.cpython-311.pyc index 8d0a160..a41fda6 100644 Binary files a/backend/shared/__pycache__/config.cpython-311.pyc and b/backend/shared/__pycache__/config.cpython-311.pyc differ diff --git a/frontend/flask_session/9954d94905e0926ef31c3ae1f3a81f9f b/frontend/flask_session/9954d94905e0926ef31c3ae1f3a81f9f deleted file mode 100644 index b62de3e..0000000 Binary files a/frontend/flask_session/9954d94905e0926ef31c3ae1f3a81f9f and /dev/null differ diff --git a/frontend/flask_session/e14aa690816637ce96434acf5ba24a8e b/frontend/flask_session/e14aa690816637ce96434acf5ba24a8e new file mode 100644 index 0000000..cac9483 Binary files /dev/null and b/frontend/flask_session/e14aa690816637ce96434acf5ba24a8e differ diff --git a/weibo_hotsign.db b/weibo_hotsign.db index 215c4e5..d2e8eab 100644 Binary files a/weibo_hotsign.db and b/weibo_hotsign.db differ