apu52 / Travel_Website

๐Ÿš€ Welcome๐ŸŒˆ , This repo is officially accepted for IEEE-IGDTUW Open Source Week 2024๐ŸŒŸThis repo contains my project on Travel Website โœˆ๏ธ using HTML,CSS . It contains the landing page of a travel tour company website. If you have any front end project on this or you can add new features in the project or in this repos.
https://apu52.github.io/Travel_Website/
MIT License
302 stars 591 forks source link

feat: Update user-controller.js #1574

Open devank21 opened 3 weeks ago

devank21 commented 3 weeks ago

hactoberfest2024

Title and Issue number

Title :improved redundancy and efficiency

Issue No. : 1 (whith apu52) i am not very sure from to get the issue number so i assumed it to bee the number of times i have issued in this repo

Code Stack : node.js

Close #

Description

->Improved handling for missing fields (name, email, password) in signup and login. ->In login, set the JWT token in a cookie with security flags (httpOnly, secure, sameSite) for added protection against CSRF and XSS attacks.

Video/Screenshots (mandatory)

for some reason i am not able to attach the video extremely sorrry for that

Type of PR

Checklist:

Additional context:

Are you contributing under any Open-source programme?

github-actions[bot] commented 3 weeks ago

Thank you for submitting your pull request! ๐Ÿ™Œ We'll review it as soon as possible. In the meantime, If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! ๐Ÿ˜Š

netlify[bot] commented 3 weeks ago

Deploy Preview for taupe-cendol-f7e2bb ready!

Name Link
Latest commit 01d50758c5c4609048c9e9319040c039ec062f42
Latest deploy log https://app.netlify.com/sites/taupe-cendol-f7e2bb/deploys/671d41c1b02ccb000867c3a5
Deploy Preview https://deploy-preview-1574--taupe-cendol-f7e2bb.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.