OpenNutriTracker
OpenNutriTracker copied to clipboard
Bug: App accepts future birth dates
Bug description: The program accepts a birth date that is later than the current date. This allows users to input a future birth date, which shouldn't be allowed.
Expected behavior: Future birth dates should be rejected, since the user cannot be born in the future. Also, in my opinion the program shouldn't even accept too recent birth dates since kids shouldn't use the app, but this is just a personal opinion.
Environment: Web (Chrome)
Possible solution: Add validation to check if the entered birth date is not today's date or after today's date.
#218 implents input validation for the date of Birth, you can now select a date between 130 years ago and yesterday