lib/generators/authentication/templates/controllers/html/passwords_controller.rb.tt in authentication-zero-2.8.2 vs lib/generators/authentication/templates/controllers/html/passwords_controller.rb.tt in authentication-zero-2.8.3
- old
+ new
@@ -18,8 +18,8 @@
def set_<%= singular_table_name %>
@<%= singular_table_name %> = Current.<%= singular_table_name %>
end
def <%= "#{singular_table_name}_params" %>
- params.require(:<%= singular_table_name %>).permit(:password, :password_confirmation)
+ params.permit(:password, :password_confirmation)
end
end