X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=blobdiff_plain;f=includes%2Fauth%2FCreationReasonAuthenticationRequest.php;h=146470ed8faa026bb4bb872d2f7aa14c7f5de965;hb=4d25837b4941827ff1a84bb19ac4be744c9e18d5;hp=1711aec97488721d20c0c7adeb6c90ff42152007;hpb=045ca4ca47eb3b9120599d6964b33c15bd96b6e7;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' => [