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

Add OTP feature #81

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

Commits on May 11, 2024

  1. Configuration menu
    Copy the full SHA
    54b8cb6 View commit details
    Browse the repository at this point in the history
  2. update UserModel.js and add send-token and verify-token router

    add two new fields otpToken and otpExpiry in UserModel.js and two controller function for sending and verifying otp
    piyush-gangrade committed May 11, 2024
    Configuration menu
    Copy the full SHA
    3fb45d2 View commit details
    Browse the repository at this point in the history
  3. add verify route and update Login.jsx and Signup.jsx

    Add VerifyOTP.jsx and update Login.jsx and SignUp.jsx so that after login and signup, the user navigates to the verify route, and an OTP is sent to the user's email. After entering the OTP, the user will be logged in
    piyush-gangrade committed May 11, 2024
    Configuration menu
    Copy the full SHA
    2ff5acc View commit details
    Browse the repository at this point in the history

Commits on May 12, 2024

  1. Configuration menu
    Copy the full SHA
    7bb36f7 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. change otp verification functionality

    update Signup.jsx, VeifyOTP.jsx, AuthController.js and AuthRoutes and add OtpModel.js and encrypt.js
    piyush-gangrade committed May 13, 2024
    Configuration menu
    Copy the full SHA
    490037b View commit details
    Browse the repository at this point in the history