diff --git a/users/views/user_info.py b/users/views/user_info.py index 6ebfa35..f66f736 100644 --- a/users/views/user_info.py +++ b/users/views/user_info.py @@ -221,8 +221,8 @@ class UserInfoUpdateView(APIView): else: code = str(code or '').strip() - # 认证页仅上传头像+手机号,不带昵称 - is_phone_auth_flow = bool(av) and not nick + # 手机号强制认证页:同时带头像 + shoujihao_code,且不带 nicheng(资料编辑页会带昵称) + is_phone_auth_flow = bool(av) and bool(code) and not nick phone_error = None if is_phone_auth_flow and not code: