Merge branch 'fix/theme-flash' of https://github.com/BerkeleyTrue/FreeCodeCamp into BerkeleyTrue-fix/theme-flash
Conflicts: common/models/user.js
This commit is contained in:
@@ -6,7 +6,7 @@ export function ifNoUserRedirectTo(url, message, type = 'errors') {
|
||||
}
|
||||
|
||||
req.flash(type, {
|
||||
msg: message || `You must be signed to go to ${path}`
|
||||
msg: message || `You must be signed in to access ${path}`
|
||||
});
|
||||
|
||||
return res.redirect(url);
|
||||
|
Reference in New Issue
Block a user