I am using Devise and Rails 3.
I want to call a function that will simply verify that a user’s username and password combination is correct without actually logging in that user. Is there some way I can accomplish something like this with Devise:
User.authenticate(params[:username], params[:password])
Get the user out of the database:
Then you can check their password with: