fix(app): Normalize flash type

Changed flash messages to use types provided by Bootstrap

Closes #16395
This commit is contained in:
cassidypignatello
2018-01-08 17:25:45 -05:00
parent 3d86eaecbc
commit f158183039
8 changed files with 24 additions and 24 deletions

View File

@@ -16,7 +16,7 @@ export default function flashCheaters() {
EXCLUDED_PATHS.indexOf(req.path) === -1 &&
req.user && req.url !== '/' && req.user.isCheater
) {
req.flash('errors', {
req.flash('danger', {
msg: dedent`
Upon review, this account has been flagged for academic
dishonesty. If youre the owner of this account contact