This commit is contained in:
chamikaJ
2025-04-17 18:28:54 +05:30
parent f583291d8a
commit 8825b0410a
2837 changed files with 241385 additions and 127578 deletions

View File

@@ -26,6 +26,8 @@ authRouter.get("/check-password", safeControllerFunction(AuthController.checkPas
authRouter.post("/reset-password", resetEmailValidator, safeControllerFunction(AuthController.reset_password));
authRouter.post("/update-password", updatePasswordValidator, passwordValidator, safeControllerFunction(AuthController.verify_reset_email));
authRouter.post("/verify-captcha", safeControllerFunction(AuthController.verifyCaptcha));
// Google authentication
authRouter.get("/google", (req, res) => {
return passport.authenticate("google", {