Skip to content

Commit

Permalink
Fixed conflict markers in Auth.js
Browse files Browse the repository at this point in the history
  • Loading branch information
amantaphelix committed Jun 16, 2024
1 parent bd773ba commit 79a4699
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions server/controllers/Auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@ const User = require("../models/studentLoginInfo");
const jwt = require("jsonwebtoken");
const Canteen = require("../models/canteenLoginInfo");
const Session = require("../models/session");
<<<<<<< HEAD
const Contact = require('../models/Contact');
=======
const {
forgotPasswordToken,
verifyToken,
findUserByEmail,
findUserById,
} = require("../utils/PasswordTokenAndUser");
const nodemailer = require("nodemailer");
>>>>>>> upstream/main

require("dotenv").config();

exports.studentSignup = async (req, res) => {
Expand Down Expand Up @@ -445,8 +441,6 @@ exports.changeCanteenPassword = async (req, res) => {
});
};

<<<<<<< HEAD

//contactUs

exports.saveContactMessage = async (req, res) => {
Expand All @@ -463,8 +457,6 @@ exports.saveContactMessage = async (req, res) => {
res.status(500).send('Error saving message');
}
};

=======
// verify user for reset password
exports.forgotPassword = async (req, res) => {
try {
Expand Down Expand Up @@ -602,4 +594,4 @@ exports.resetPassword = async (req, res) => {
res.status(500).json("Some error occurred!");
}
};
>>>>>>> upstream/main

0 comments on commit 79a4699

Please sign in to comment.