修复找回密码后无法登陆的问题

This commit is contained in:
zlzw 2024-02-26 16:04:47 +08:00
parent 1023c0ab4d
commit f7845dde6f

View File

@ -369,6 +369,7 @@ public class FindPwdActivity extends AbsActivity {
String token = obj.getString("token"); String token = obj.getString("token");
IMLoginModel model = GsonUtils.fromJson(info[0], IMLoginModel.class); IMLoginModel model = GsonUtils.fromJson(info[0], IMLoginModel.class);
CommonAppConfig.getInstance().setLoginInfo(uid, token, true); CommonAppConfig.getInstance().setLoginInfo(uid, token, true);
IMLoginManager.get(mContext).setupLoginUser(model);
getBaseUserInfo(); getBaseUserInfo();
} else { } else {
if (!TextUtils.isEmpty(msg)) { if (!TextUtils.isEmpty(msg)) {