Rails Devise Legacy Users from CakePHP
问题 I recently got Devise working. New users sign in, sign up, logout etc etc just fine. Old users however have an issue. I have gotten it to a point where I get a 401 unauthorized, which seems to me that the hash is just incorrectly being created when signing in and of course not matching correctly. My user model: class User < ActiveRecord::Base require "digest/sha1" # Include default devise modules. Others available are: # :token_authenticatable, :encryptable, :confirmable, :lockable,