Skip to content

refactor: auth login - #91

Open
anqilique wants to merge 2 commits into
mainfrom
refactor/auth-login
Open

refactor: auth login#91
anqilique wants to merge 2 commits into
mainfrom
refactor/auth-login

Conversation

@anqilique

@anqilique anqilique commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Description

Fixed the issue with new users signing up. Previously, the required faculty was preventing signup.

Changes

  • AuthProvider.tsx refactored slightly. Clears the user when logging out, uses the loading state consistently.
  • user.ts model no longer requires university, studentID, UPI, yearOfStudy, or faculties.
  • userValidation.ts only requires faculty if the user goes some university.

@anqilique
anqilique marked this pull request as ready for review September 6, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant