I would also add to the users controller to skip this method, e.g. at https://github.com/lzap/foreman/blob/f192dce74ccde93f9664a36c4a6de634d0ca0fdd/app/controllers/users_controller.rb#L6