mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-01-06 00:22:21 +00:00
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
Block a user