X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fauth%2FCreationReasonAuthenticationRequest.php;h=146470ed8faa026bb4bb872d2f7aa14c7f5de965;hb=9d78fc2c872daf0eed70a1d63a09cc5b34711d0f;hp=1711aec97488721d20c0c7adeb6c90ff42152007;hpb=19fe074b654f874d7cdfb1d2622f2489b8bdfaa0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/auth/CreationReasonAuthenticationRequest.php b/includes/auth/CreationReasonAuthenticationRequest.php index 1711aec974..146470ed8f 100644 --- a/includes/auth/CreationReasonAuthenticationRequest.php +++ b/includes/auth/CreationReasonAuthenticationRequest.php @@ -10,6 +10,8 @@ class CreationReasonAuthenticationRequest extends AuthenticationRequest { /** @var string Account creation reason (only used when creating for someone else) */ public $reason; + public $required = self::OPTIONAL; + public function getFieldInfo() { return [ 'reason' => [