6. RBAC - Validating user input using express-validator

6. RBAC - Validating user input using express-validator

Mafia Codes

3 года назад

9,330 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Isi
Isi - 31.10.2022 07:30

Okay but what about sanitizing data?

Ответить
Fypek
Fypek - 18.07.2022 23:59

Really nice video bro!

Ответить
enzo
enzo - 04.01.2022 20:51

thanks for the video. This really helped

Ответить
himanshu lal
himanshu lal - 23.09.2021 14:51

bro how could body have password2 property if we haven't have assed it in the schema of user model...

Ответить
Mushfique Aazam P
Mushfique Aazam P - 31.08.2021 09:21

flash message not working while redirect to other page
express deprecated ... ?

Ответить
Douglas Posho
Douglas Posho - 20.07.2021 08:41

Truly ia bloody programmmer!!!!!!!!

Ответить
Rahul Bera
Rahul Bera - 07.07.2021 04:51

Hey yoursTRULY ... thanks for these amazing videos. These are really helpful. There's a request from my side, can you make a video on 3 tier architecture ( directory structure ) using nodejs and dependency injection. Also would love to see more content that could be used in production using nodejs like those DB backup videos and nodejs clustering videos.

Thanks,
Your loyal subscriber ;)

Ответить
Suresh Adhi
Suresh Adhi - 15.06.2021 19:13

👌

Ответить
sai kumar
sai kumar - 16.03.2021 11:25

Brother I have a doubt that if I use JWT strategy (I mean without using sessions) how to show error messages to front-end(angular) should I use
return res.json({errors:errors.array()}) or should I throw these errors

Ответить
Ajit Jadhav
Ajit Jadhav - 18.12.2020 23:45

Sir I have a question. What if we have more than 10 input fields. Then it becomes very difficult to display all validation at the same time on single page. And we need to write validation code for each field. Do you have simple method in which we can write optimal code and achieve the same thing so that in the future if we add any new field them it becomes easier. It would be great if you read this comment and provide the solution. Will be waiting for your reply or video on the same. Thanks 🙏

Ответить