1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-26 20:47:57 +02:00

Optimisation de l'envoi de mails

This commit is contained in:
Yohann
2019-09-08 12:45:48 +02:00
committed by galaxyoyo
parent bd73e82cb0
commit 5771a15a32
16 changed files with 241 additions and 116 deletions

View File

@ -86,7 +86,7 @@ class NewUser
$req->execute([$this->email, password_hash($this->password, PASSWORD_BCRYPT), $this->confirm_email_token, $this->surname, $this->first_name, $this->birth_date, $this->gender, $this->address,
$this->postal_code, $this->city, $this->country, $this->phone_number, $this->school, SchoolClass::getName($this->class), Role::getName($this->role), $this->description, $YEAR]);
sendRegisterMail($this);
Mailer::sendRegisterMail($this);
}
}