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

Bug fix added validation Issue #31 #42

Merged
3 changes: 3 additions & 0 deletions backend/Controllers/UserController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import bcrypt from "bcrypt";
import User from "../models/User.js";
import jwt from "jsonwebtoken";
import dotenv from "dotenv"

dotenv.config()
/**
* @route {POST} /api/signup
* @description Create a new user
Expand Down
Loading