Merged
Conversation
This was
linked to
issues
Feb 16, 2025
Closed
Closed
Rei-x
approved these changes
Feb 17, 2025
Member
There was a problem hiding this comment.
TRZEBA SPRAWDZIĆ CZY RATE LIMIT ZADZIAŁA Z TRAEFIKIEM
możesz poprawić te rzeczy, ale nie jest to wymagane, nice-to-have
nadal ta funkcja auth mi się nie podoba, ale to lepiej będzie kiedyś razem siąść i byśmy sobie pogadali jak to zrobić, nie jest najgorzej teraz ale da się lepiej
This was
unlinked from
issues
Feb 17, 2025
Closed
Closed
This was
linked to
issues
Feb 17, 2025
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to both the backend and frontend of the project, primarily focusing on implementing OTP-based authentication and improving user data management. Additionally, there are updates to the project documentation and minor adjustments to existing functionalities.
Backend Changes:
AuthController Enhancements:
backend/app/controllers/auth_controller.ts). [1] [2] [3]backend/app/controllers/auth_controller.ts).User Model Updates:
avatar,otpCode,otpExpire, andverifiedto theUsermodel (backend/app/models/user.ts).usos_id(backend/database/migrations/1739705422939_prepare_users_table_to_otp.ts).Email Notifications:
backend/commands/notifications.ts).Route Adjustments:
backend/start/routes.ts).Frontend Changes:
OTP Authentication Integration:
frontend/src/actions/login.ts).frontend/src/actions/logout.ts).New Component:
frontend/src/app/(homepage)/_components/topwr-ad.tsx).Dependency Updates:
input-otppackage to handle OTP input fields (frontend/package.json,frontend/package-lock.json). [1] [2] [3]Documentation Update:
README.mdfile (README.md).These changes collectively enhance the security, functionality, and user experience of the project.