Permalink
Browse files

fix change_username sanitize

  • Loading branch information...
1 parent 7f59622 commit 004310e8c25c8faf1f8d10cd8beb399c68a7b021 @themgt committed Mar 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/chat_controller.rb
@@ -35,7 +35,7 @@ def new_user
end
def change_username
- connection_store[:user] = sanitize(message)
+ connection_store[:user][:user_name] = sanitize(message[:user_name])
broadcast_user_list
end

0 comments on commit 004310e

Please sign in to comment.