N
N
NikSIk312019-08-10 21:36:03
Laravel
NikSIk31, 2019-08-10 21:36:03

Laravel check before action?

I recently learned that the actions in the lara need to be checked.
1) Do I need to check for authorization the actions that are in my account? (a place where only authorized and verified can enter) - verification through verification by mail.
2) I want to change my mail. I make a route post and accept new mail in the controller. As I understand it, I need to check whether it is unique and if so, assign it. And depending on the answer to 1 question, I think whether to check for authorized or not.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question