Example #1
0
 public function delete_reset_password_request()
 {
     try {
         lib()->load("UserControl");
         $this->throwMsgCheck('is_post', 'is_login');
         $uc = new UserControl();
         $uc->delete_reset_password_request(login_user());
         $this->rt_msg['status'] = true;
     } catch (\Exception $ex) {
         $this->rt_msg['msg'] = $ex->getMessage();
         $this->rt_msg['code'] = $ex->getCode();
     }
 }