|
@@ -29,7 +29,8 @@ class ChallengeProvider implements ProviderInterface
|
|
|
|
|
|
|
|
$options = new ChallengeOptions([
|
|
$options = new ChallengeOptions([
|
|
|
'hmacKey' => $this->hmacKey,
|
|
'hmacKey' => $this->hmacKey,
|
|
|
- 'maxNumber' => 100000
|
|
|
|
|
|
|
+ 'maxNumber' => 100000,
|
|
|
|
|
+ 'expires' => (new \DateTime())->modify('+15 minute')
|
|
|
]);
|
|
]);
|
|
|
|
|
|
|
|
return Altcha::createChallenge($options);
|
|
return Altcha::createChallenge($options);
|