gsouf / UForm

php form library
Other
0 stars 2 forks source link

Implement csrf token #13

Closed gsouf closed 9 years ago

gsouf commented 9 years ago

csrf are only hidden fields, what we should do is to provide a csrf interface with a validator that would be attached to a hidden field.

This would be easy to create from the builder.

The csrf could also be implemented in the environment class