fix(app): 修复用户注册时的登录信息传递错误

-将固定的字符串 "11" 和 "22" 替换为用户输入的 Email 和 Password
- 确保在注册过程中正确传递用户登录信息
This commit is contained in:
suyiiyii 2025-01-21 23:34:31 +08:00
parent 0d5fa6e9f7
commit 9ae4838986
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85

View File

@ -39,8 +39,8 @@ func (h *RegisterService) Run(req *facade.RegisterReq) (resp *facade.RegisterRes
return nil, err
}
loginResp, err := rpcClient.Login(h.Context, &user1.LoginReq{
Email: "11",
Password: "22",
Email: req.Email,
Password: req.Password,
})
if err != nil {
return nil, err