login with email instead of username
authorJohan Sørensen <johan@johansorensen.com>
Mon, 19 Nov 2007 22:19:25 +0000 (23:19 +0100)
committerJohan Sørensen <johan@johansorensen.com>
Mon, 19 Nov 2007 22:19:25 +0000 (23:19 +0100)
commita95882403a97e310d759296f43ed8a9c51c1fb02
tree45fd584cf8c023ee7766ecd95de7b16ffc411684
parentd140f242c87acf2f8bcf23eb964de8070bf5395e
login with email instead of username
app/controllers/sessions_controller.rb
app/models/user.rb
app/views/sessions/new.html.erb
spec/controllers/sessions_controller_spec.rb
spec/controllers/users_controller_spec.rb
spec/models/user_spec.rb