Skip to content

Data sanitisation and upgrading authentication system#71

Merged
Prakhar896 merged 8 commits intomainfrom
prakhar
Jul 22, 2024
Merged

Data sanitisation and upgrading authentication system#71
Prakhar896 merged 8 commits intomainfrom
prakhar

Conversation

@Prakhar896
Copy link
Copy Markdown
Contributor

Overview of changes:

  • Sanitisation of data in /getListing with Extensions.sanitiseData to ensure that only needed data is passed down
  • Upgraded authentication system that uses TokenManager for more dynamic auto-refresh and token expiration capabilities
  • checkUser middleware that is just validateToken but does not enforce the existence of a logged in user. Useful for endpoints that would benefit from seeing if a user is logged in but don't require it
  • Fixed bugs in /addListing and /createReservation

@Prakhar896 Prakhar896 added the enhancement New feature or request label Jul 22, 2024
@Prakhar896 Prakhar896 merged commit 01d4121 into main Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant