aboutsummaryrefslogtreecommitdiff
path: root/app/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/__init__.py')
-rw-r--r--app/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/__init__.py b/app/__init__.py
index f041332..23b52b7 100644
--- a/app/__init__.py
+++ b/app/__init__.py
@@ -87,7 +87,7 @@ def flatpage(path):
def check_for_ban():
if current_user.is_authenticated:
if current_user.rank == models.UserRank.BANNED:
- flash("You have been banned.", "error")
+ flash("You have been banned.", "danger")
logout_user()
return redirect(url_for('user.login'))
elif current_user.rank == models.UserRank.NOT_JOINED: