#239 | $user_group = $this->user_group->get_user_group_by_gid($user['groupid']); |
#240 | |
#241 | |
#242 | |
#243 | $r = array('err'=>0, 'msg'=>'successfully', 'user'=>$user, 'user_group'=>$user_group); |
#244 | }else{ |
#245 | $_SESSION['uid'] = 0; |
#246 | $r = array('err'=>1, 'msg'=>'failed'); |
#247 | } |
#248 | } |