illuminate/validation — pull request #5 by franzliedke (2012-10-13 22:56:40+00:00)
Title: validateAccepted: Accept checkboxes without explicit value

If you don't add a `value` attribute to a checkbox, at least Chrome sends `on` as a value for that field.

That should count as accepted, too, so I added this value.

I am not sure about the behaviour of other browsers, so I'd appreciate some resources if anybody has any.
I would even argue that we could simply check whether there was a value, or does not allowing

Maybe we should just change this to use an array of allowed values and `inArray()`. I'll probably have to adapt the tests, too.