| @@ 269-274 (lines=6) @@ | ||
| 266 | $this->template->display('register_popup'); |
|
| 267 | } |
|
| 268 | } |
|
| 269 | } elseif (!$this->dx_auth->allow_registration) { |
|
| 270 | $data['auth_message'] = lang('Registration is prohibited.', 'auth'); |
|
| 271 | ||
| 272 | $this->template->assign('content', $data['auth_message']); |
|
| 273 | $this->template->show(); |
|
| 274 | } else { |
|
| 275 | redirect(site_url(), 301); |
|
| 276 | } |
|
| 277 | } |
|
| @@ 290-295 (lines=6) @@ | ||
| 287 | ||
| 288 | $this->template->assign('content', $data['auth_message']); |
|
| 289 | $this->template->show(); |
|
| 290 | } else { |
|
| 291 | $data['auth_message'] = lang('You have provided an incorrect activation code.', 'auth'); |
|
| 292 | ||
| 293 | $this->template->assign('content', $data['auth_message']); |
|
| 294 | $this->template->show(); |
|
| 295 | } |
|
| 296 | } |
|
| 297 | ||
| 298 | public function forgot_password() { |
|