Skip to content

Commit 1945ff3

Browse files
committed
Permit teacher email form parameter
1 parent dc5803f commit 1945ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/teachers_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ def set_organization
4141
end
4242

4343
def teacher_params
44-
params.permit(:username)
44+
params.permit(:email)
4545
end
4646
end

0 commit comments

Comments
 (0)