Skip to content

Commit

Permalink
Fixed flash message display.
Browse files Browse the repository at this point in the history
  • Loading branch information
amcnamara committed Sep 1, 2011
1 parent 683ff4f commit 61a7a5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/public/css/style.css
Expand Up @@ -168,6 +168,7 @@ a.novisited {color: #00e;}
.rss {
width: 24px;
float: left;
clear: left;
background-image: url('../images/feed.png');
background-repeat: no-repeat;
background-position: top right;
Expand All @@ -189,7 +190,6 @@ div.message {
font-size: 16px;
width: 75%;
float: left;
position: absolute;
}

span#prob-title {
Expand Down
2 changes: 1 addition & 1 deletion src/foreclojure/login.clj
Expand Up @@ -86,7 +86,7 @@
{:$set {:pwd (if (not-empty new-pwd) new-pwd-hash pwd) :user new-lower-user}}
:upsert false)
(session/session-put! :user new-lower-user)
(flash-msg (str "Password for " new-username " updated successfully")
(flash-msg (str "Account for " new-lower-user " updated successfully")
"/problems"))
(flash-error why "/login/update")))))

Expand Down

0 comments on commit 61a7a5c

Please sign in to comment.