diff --git a/core/routers/auth/routes.py b/core/routers/auth/routes.py index 5157b42..4efdd5d 100644 --- a/core/routers/auth/routes.py +++ b/core/routers/auth/routes.py @@ -78,8 +78,7 @@ async def wechat_login( if user is None: checked = all([ payload.phone, - payload.nickname, - payload.avatar_url, + payload.nickname ]) if checked is False and wechat_session_str is None: await redis_conn.set(keyname, ujson.encode(wechat_session), ex=60 * 5)