lib/generators/authentication/templates/controllers/html/registrations_controller.rb.tt in authentication-zero-0.0.15 vs lib/generators/authentication/templates/controllers/html/registrations_controller.rb.tt in authentication-zero-0.0.16

- old
+ new

@@ -7,10 +7,10 @@ def create @<%= singular_table_name %> = <%= class_name %>.new(<%= "#{singular_table_name}_params" %>) if @<%= singular_table_name %>.save - cookies[:session_token] = { value: @<%= singular_table_name %>.session_token, httponly: true } + cookies.signed[:session_token] = { value: @<%= singular_table_name %>.session_token, httponly: true } redirect_to root_path, notice: "Welcome! You have signed up successfully" else render :new, status: :unprocessable_entity end end