Skip to content

feat: enhance email validation and normalize input in authentication flows#8

Merged
austinchima merged 2 commits into
r1-candidatefrom
master
Jul 7, 2026
Merged

feat: enhance email validation and normalize input in authentication flows#8
austinchima merged 2 commits into
r1-candidatefrom
master

Conversation

@austinchima

Copy link
Copy Markdown
Owner
  • Added strict email validation using a regular expression to ensure valid email formats across registration, login, and password recovery requests.
  • Implemented email normalization to remove whitespace before processing in the AuthController.
  • Updated integration tests to cover various invalid email scenarios, ensuring robust error handling.
  • Added new dependencies for improved TypeScript support and updated package configurations.

These changes improve the security and user experience of the authentication process.

- Added Microsoft.OpenApi package to Precept.Api project.
- Updated font links in index.html to include Fira Code.
- Added @types/react to package.json and package-lock.json for improved TypeScript support.
- Enhanced accessibility by adding aria-labels and titles to various input elements across AppTracker, Settings, and StoryBank pages.
- Updated button elements to include type attributes for better semantics and accessibility.

These changes improve the overall functionality and user experience of the application.
…flows

- Added strict email validation using regular expressions to ensure valid email formats across registration, login, and password recovery requests.
- Implemented email normalization to remove whitespace before processing in the AuthController.
- Updated integration tests to cover various invalid email scenarios, ensuring robust error handling.
- Added new dependencies for improved TypeScript support and updated package configurations.

These changes improve the security and user experience of the authentication process.
@austinchima austinchima merged commit 9671b14 into r1-candidate Jul 7, 2026
3 checks passed
austinchima added a commit that referenced this pull request Jul 7, 2026
Merge pull request #8 from austinchima:master
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