修复登录成功代码

Signed-off-by: kingbird <jiapumin@163.com>