Commit 70eaef81 authored by Jiwon Yoon's avatar Jiwon Yoon
Browse files

change

parent b4873b7c
......@@ -22,7 +22,7 @@ const schema = new Schema<IUser>(
validate: [validateEmail, "이메일을 입력해주세요"],
},
name: { type: String },
password: { type: String, required: true, select: false },
password: { type: String, select: false },
role: { type: Schema.Types.ObjectId, ref: "Role" },
avatar: { type: Schema.Types.ObjectId, ref: "FileInfo" },
},
......
......@@ -5,7 +5,7 @@ const router = express.Router();
router.route("/signup").post(authCtrl.signup);
router.route("/login").post(authCtrl.login);
router.route("/login/kakao").get(authCtrl.kakaoLogin);
// router.route("/login/kakao").get(authCtrl.kakaoLogin);
router.route("/logout").get(authCtrl.logout);
router.route("/oauth/kakao").post(authCtrl.kakaoAuthenticate);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment