Yii2 Csrf Validation

Hi all,

I’m really new with the csrf validation, I wonder what I have to do to validate this ?

For example :

In the registration form, I can see the _csrf value, but in the controller I don’t see anything that handle this value. Do I have to call something or Yii handle it automatically ?

Thanks

CSRF is on by default now, so you have to worry about it only if you use something like flash uploader or OpenId.