varvet / godmin

Admin framework for Rails 5+
http://godmin-sandbox.herokuapp.com
MIT License
486 stars 47 forks source link

Admin user class not reflected in session controller params #209

Closed ingemar closed 7 years ago

ingemar commented 7 years ago

Param name should be derived from admin_user_class.

  # lib/godmin/authentication/sessions_controller.rb:37

   def admin_user_params
        params.require(:admin_user).permit(
          admin_user_class.login_column,
          :password,
          :password_confirm
jensljungblad commented 7 years ago

True that