Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validator called twice. #38

Closed
ajarti opened this issue Jun 20, 2016 · 1 comment
Closed

Validator called twice. #38

ajarti opened this issue Jun 20, 2016 · 1 comment

Comments

@ajarti
Copy link

ajarti commented Jun 20, 2016

Hi guys,
For some reason the validation is called twice for me:

[2016-06-20 14:21:22] local.INFO: array (
  'success' => true,
  'challenge_ts' => '2016-06-20T14:20:50Z',
  'hostname' => 'lodgestaff.dev',
)  
[2016-06-20 14:21:23] local.INFO: array (
  'success' => false,
  'challenge_ts' => '2016-06-20T14:20:50Z',
  'hostname' => 'lodgestaff.dev',
)  

As you can see by the call logs, the first is fine but the second will obviously fail as it's already been called, I can't see why this is happening.

I see it's loaded 2 times in the bootstrap cache under providers & eager, could this be causing it?

Any help welcome, thanks in advance.

@jmp909
Copy link

jmp909 commented Aug 30, 2016

ajarti, you are probably calling ->passes() or fails() more than once.. see here
#45 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants