Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Ignore ALL .log files at gitignore #523

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.DS_Store
.nodemonignore
.sass-cache/
npm-debug.log
node_modules/
public/lib/
public/dist/
.bower-*/
.idea/
uploads
modules/users/client/img/profile/uploads
*.log
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ exports.forgot = function(req, res, next) {
smtpTransport.sendMail(mailOptions, function(err) {
if (!err) {
res.send({
message: 'An email has been sent to ' + user.email + ' with further instructions.'
message: 'An email has been sent to the provided email with further instructions.'
});
}

Expand Down Expand Up @@ -137,7 +137,7 @@ exports.reset = function(req, res, next) {
if (err) {
res.status(400).send(err);
} else {
// Return authenticated user
// Return authenticated user
res.json(user);

done(err, user);
Expand Down Expand Up @@ -174,7 +174,7 @@ exports.reset = function(req, res, next) {
subject: 'Your password has been changed',
html: emailHTML
};

smtpTransport.sendMail(mailOptions, function(err) {
done(err, 'done');
});
Expand Down