Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
fix to fix, a-doy
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanOrsh committed Jan 2, 2019
1 parent e983bfe commit a997783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/access.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
}
else {
req.flash('redirect', req.originalUrl);
res.redirect('/');
res.redirect('/login');
}
},

Expand All @@ -31,7 +31,7 @@ module.exports = {
}
else {
req.flash('redirect', req.originalUrl);
res.redirect('/login');
res.redirect('/');
}
},
// Editor privilege can:
Expand Down

0 comments on commit a997783

Please sign in to comment.