module Raddar class Users::SessionsController < Devise::SessionsController before_action :configure_permitted_parameters private def configure_permitted_parameters devise_parameter_sanitizer.for(:sign_in) { |u| u.permit(:login) } end end end