	public function remind()
	{
		/*if (!check_captcha())
		{
			$this->templatemanager->notify_next(__("You have entered wrong security code."), "error", __("Error!"));
			redirect("administration/auth/forgot");
			die;
		}//*/

		$email = trim($this->input->post("email", true));

		$u = User::factory()->get_by_email($email);

		if (!$u->exists())
		{
			$this->templatemanager->notify_next(__("User with that e-mail does not exists!"), "error", __("Error"));
			redirect("administration/auth/forgot");
		}

		$u->key = random_string('unique');
		$u->save();

		Log::write('requested password change', LogSeverity::Notice, $u->id);

		//set variables for template
		$vars = array(
			'name'=>$u->name
			,'email'=>$u->email

			,'website_title'=>Setting::value('website_title', CS_PRODUCT_NAME)
			,'reset_link'=>site_url('administration/auth/resetpass/'.$u->id.'/'.$u->key)
			,'site_url'=>site_url()
		);

		//get email template
		$template = file_get_contents(APPPATH . "templates/forgot_password.html");
		$template = __($template, null, 'email');
		$template .= "<br />\n<br />\n<br />\n" . __(file_get_contents(APPPATH . "templates/signature.html"), null, 'email');
		$template = parse_template($template, $vars);

		//send email
		$this->email->to("$email");
		$this->email->subject(__("%s password reset", Setting::value('website_title', CS_PRODUCT_NAME), 'email'));
		$this->email->message($template);
		$this->email->set_alt_message(strip_tags($template));

		$from = Setting::value("default_email", false);

		if (empty($from))
			$from = "noreply@".get_domain_name(true);

		$this->email->from($from);

		$sent = $this->email->send();

		if ($sent)
			$this->templatemanager->notify_next(__("Please check your e-mail for further information."), "notice", __("Notice"));
		else
			$this->templatemanager->notify_next(__("Activation e-mail could not be sent!"), "error", __("Error"));

		redirect("administration/auth/login");
	}
The software contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.