On my development machine I can login fine, but once on production,
authentication fails for the base user created in the migration.
I can reset my password and upon doing so I am auto logged in, but
when I logout and try to login again using the newly entered password,
once again it tells my I have a bad email and/or password.
Any ideas to why this would be?
=== Update
class User < ActiveRecord::Base
# default devise modules
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
...
end
I have the same problem on my staging server. The strangest is that it works in production env on my personal computer …
Solved here : http://groups.google.com/group/plataformatec-devise/browse_thread/thread/20a73a2b7976806f
Thanks !