concevoir un mot de passe valide
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])