Les encadrants sont adultes

This commit is contained in:
Yohann 2019-10-23 12:38:25 +02:00
parent da3b7006e9
commit 9c98216b15
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ class NewUser
if ($this->role == Role::PARTICIPANT)
$this->class = SchoolClass::fromName(strtoupper($this->class));
else
$this->class = SchoolClass::ADULT;
$this->confirm_email_token = genRandomPhrase(64);
}