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: Add register and verifyEmail methods to useDirectusAuth composable #293

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

M4rk3tt0
Copy link

@M4rk3tt0 M4rk3tt0 commented Feb 8, 2025

Types of changes

  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

This PR adds modifies the register method and adds the verifyEmail method to the useDirectusAuth composable.

  • register: Allows users to register a new account with the Directus register endpoint.
  • verifyEmail: Allows users to verify their email address after registration.

These methods were added to address issue #292 and provide a more complete authentication solution. The documentation has also been updated to reflect these changes.

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

Copy link

vercel bot commented Feb 8, 2025

@M4rk3tt0 is attempting to deploy a commit to the Conner's projects Team on Vercel.

A member of the Team first needs to authorize it.

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