Releases: ThiagoHG1/login-api
Releases · ThiagoHG1/login-api
Login-API version 1.2
Version 1.2
This version includes improvements and fixes compared to the previous version:
- Email Validation: Users must now provide valid email domains during registration, such as
@gmail.com,@yahoo.com, and others. - Code Refactoring: The code has been modularized by separating public and protected routes and the middleware logic for better organization and maintainability.
- Security Enhancements: The use of environment variables for the secret key (
SECRET_KEY) and database configurations was implemented with the addition of thedotenvpackage. - Documentation Update: README updated with clear instructions on installation, configuration, usage, and new requirements for email validation.
These changes aim to improve security, user experience, and overall code structure.
Login-API v1.1
Version 1.1 introduces several improvements and fixes:
- JWT Token Authentication: A unique JWT token is now generated and used for authentication upon login.
- Enhanced Security for Registration: Passwords are now stored in a hashed format using Argon2, improving security.
- Improved User Deletion: The user deletion route now requires the username, password, password confirmation, and a valid authenticated token.