Devise senha válida
user = User.find_by(email: login_params[:email])
user.valid_password?(login_params[:password])
Lioruby
user = User.find_by(email: login_params[:email])
user.valid_password?(login_params[:password])