Hotfix for register email
This commit is contained in:
parent
048e069af5
commit
40c9c16cb3
|
@ -124,14 +124,14 @@
|
|||
$this->email->to($email);
|
||||
|
||||
$this->email->subject('Aktiviere deinen Account und lege so richtig los auf KingOfDog.eu');
|
||||
$this->email->message($this->load->view('emails/register', ['username' => $username, 'emailHash' => md5($email), 'activationKey' => $activation_key], false));
|
||||
$this->email->message($this->load->view('emails/register', ['username' => $username, 'emailHash' => md5($email), 'activationKey' => $activation_key], true));
|
||||
|
||||
$this->email->send();
|
||||
|
||||
// TODO: TRANSLATE
|
||||
$message = "Hallo, bitte aktiviere deinen Account: " . base_url('activate/' . md5($email) . '/' . $activation_key);
|
||||
// $message = "Hallo, bitte aktiviere deinen Account: " . base_url('activate/' . md5($email) . '/' . $activation_key);
|
||||
// TODO: Send email
|
||||
mail($email, "Aktiviere deinen Account und lege so richtig los auf KingOfDog.eu", $message);
|
||||
// mail($email, "Aktiviere deinen Account und lege so richtig los auf KingOfDog.eu", $message);
|
||||
|
||||
// Send notification
|
||||
$createdUser = $this->db->query('SELECT ID FROM users WHERE username = ?', [$username])->result_array();
|
||||
|
|
Reference in New Issue
Block a user