Skip to content

Commit 77f3ad1

Browse files
authored
Merge pull request #77 from zackdeacon/vin-cleanup
Vin cleanup
2 parents 1c1bdc9 + 2a0b168 commit 77f3ad1

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

controllers/auth.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ router.post("/signup", (req, res) => {
4444

4545
//LOGIN
4646
router.post("/login", (req, res) => {
47-
// console.log("here is the password", req.body.password)
4847
db.User.findOne({
4948
username: req.body.username,
5049
})

nodemailer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const mailer = {
174174
},
175175
html: ({ username, name, tempPass }) => {
176176
return `
177-
<h3>Hell0 ${name.first}, </h3>
177+
<h3>Hello ${name.first}, </h3>
178178
<p>We have recieved a request to reset your password on PLANiT, the collaborative travel planning application.</p>
179179
<p>Please use the following password to log into your account with the username ${username}:</p>
180180
<h5>${tempPass}</h5>

server.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ app.use(
5757
app.use(
5858
session({
5959
secret: process.env.SESSIONSECRET,
60-
// secret: "super secret",
6160
resave: false,
6261
saveUninitialized: false,
6362
proxy: true,
@@ -78,7 +77,6 @@ let server = app.listen(PORT, () => {
7877
console.log("connected")
7978
io.on("connection", (socket) => {
8079
socket.emit("your id", socket.id);
81-
// console.log("1st listen")
8280
socket.on("new message", (e) => {
8381
io.emit("update messages");
8482
console.log("message sent", e)

0 commit comments

Comments
 (0)