Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix change_username sanitize

  • Loading branch information...
commit 004310e8c25c8faf1f8d10cd8beb399c68a7b021 1 parent 7f59622
@themgt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/chat_controller.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.