Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: user attribute mutator/accessor & ToLowercase middleware #18

Merged

Conversation

gianfranco-rocco
Copy link

⚡ Modify Laravel boilerplate to make emails not case-sensitive - 86dqz4tcp

💻 What type of change is this?

  • 💎 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Styling
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build / CI

⭐ Description

  • Added attribute mutator & accessor to transform the value of the email field to lowercase
  • Created middleware to allow transforming fields of the incoming request to lowercase

✅ Checklist

  • This PR can be merged (it is not a draft, work in progress, or blocked on another PR)
  • I have tested this change locally in multiple screen sizes
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@gianfranco-rocco gianfranco-rocco added the enhancement New feature or request label Jan 3, 2024
@gianfranco-rocco gianfranco-rocco self-assigned this Jan 3, 2024
@gianfranco-rocco gianfranco-rocco changed the title User attribute mutator/accessor & ToLowercase middleware feat: user attribute mutator/accessor & ToLowercase middleware Jan 3, 2024
@gianfranco-rocco gianfranco-rocco merged commit d0cd6ee into 10.x Jan 3, 2024
3 checks passed
@gianfranco-rocco gianfranco-rocco deleted the feature/CU-86dqz4tcp/not-case-sensitive-email branch January 3, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants