X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=includes%2Fauth%2FCreatedAccountAuthenticationRequest.php;h=a7d24842bb20745510739f7050c8cd8ee7313ac0;hb=8b220cb5b6c5d3779b20a1d59de97291ece80282;hp=48a6e1d36c261d0e7cb48ef990a8aa5347b5a14a;hpb=64b83bdb3afd0ee4f8fc1893a865409c198e601e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/auth/CreatedAccountAuthenticationRequest.php b/includes/auth/CreatedAccountAuthenticationRequest.php index 48a6e1d36c..a7d24842bb 100644 --- a/includes/auth/CreatedAccountAuthenticationRequest.php +++ b/includes/auth/CreatedAccountAuthenticationRequest.php @@ -42,7 +42,7 @@ class CreatedAccountAuthenticationRequest extends AuthenticationRequest { * @param string $name Username */ public function __construct( $id, $name ) { - $this->id = $id; + $this->id = (int)$id; $this->username = $name; } }