Les encadrants sont adultes
This commit is contained in:
parent
da3b7006e9
commit
9c98216b15
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue