Skip to content

Commit

Permalink
Merge pull request #1205 from concord-consortium/179567994-fix-user-c…
Browse files Browse the repository at this point in the history
…ohort-admin-checkbox

fix: Saving of "User can add a teacher to cohorts of projects they administer" option [PT-179567994]
  • Loading branch information
dougmartin committed Jul 24, 2023
2 parents ae4e80e + e9ecf01 commit 841a09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rails/app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,6 @@ def limited_update
end

def user_strong_params(params)
params && params.permit(:first_name, :last_name, :email, :login, :password, :password_confirmation)
params && params.permit(:first_name, :last_name, :email, :login, :password, :password_confirmation, :can_add_teachers_to_cohorts)
end
end

0 comments on commit 841a09c

Please sign in to comment.