app/controllers/chaltron/users_controller.rb in chaltron-0.3.2 vs app/controllers/chaltron/users_controller.rb in chaltron-1.0.0

- old
+ new

@@ -79,12 +79,10 @@ def update_params params.require(:user).permit(roles: []) end def self_update_params - allowed = [:fullname] - allowed << :email if current_user.provider.nil? - params.require(:user).permit(allowed) + params.require(:user).permit(:email, :fullname) end def filter_params params.fetch(:filters, {}).permit(:provider, :activity) end