Commit Graph

4 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
d345f7035a Fix sign-up failure handling
The sign-up failure logic was not properly implemented. This commit addresses the issue.
2025-03-15 07:04:34 +00:00
gpt-engineer-app[bot]
0df6b8a8f5 Fix auth action return types
The authActions functions (signIn, signOut, resetPassword) were returning a promise with an object containing an error property. The AuthContextType expected these functions to return a promise that resolves to void. This commit updates the return types of these functions to Promise<void> and adjusts the logic to handle errors appropriately without returning them directly in the promise resolution.
2025-03-15 06:58:52 +00:00
gpt-engineer-app[bot]
fd34c62170 Refactor AuthContext into smaller files
Refactors the AuthContext.tsx file into smaller, more manageable files to improve code organization and maintainability. The functionality remains the same.
2025-03-15 06:57:27 +00:00
gpt-engineer-app[bot]
33f1a94a81 Implement user authentication
Implement login functionality and user authentication logic.
2025-03-15 06:50:56 +00:00