Skip to content

Commit

Permalink
Add a message on logout too
Browse files Browse the repository at this point in the history
  • Loading branch information
Dusty Phillips committed Apr 3, 2012
1 parent 9715833 commit dd15a0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions www/account/logout.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from trembling import Redirect
^L
logout(request)
request.session['messages'] = "You have successfully logged out"
raise Redirect("/")

^L
Expand Down
1 change: 1 addition & 0 deletions www/css/master.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ body {
}
.messages {
background-color: #bbeecc;
padding: 30px;
}

0 comments on commit dd15a0e

Please sign in to comment.