-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(auth): add user verification and improve session handling
Implement user verification in the AuthContextProvider using a new verifyUser function. This function extracts userId and secret from URL parameters and calls the account's updateVerification method. Update the useEffect dependency to include verifyUser. Enhance the Appwrite client setup by specifying the endpoint. Add a LocalBar icon to the NavBar for improved UI. Ensure the login function creates a verification after user registration for better session management.
- Loading branch information
1 parent
fa6ac0a
commit 222616c
Showing
3 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters