lib/generators/authkit/templates/app/controllers/signup_controller.rb in authkit-0.2.1 vs lib/generators/authkit/templates/app/controllers/signup_controller.rb in authkit-0.4.0

- old
+ new

@@ -5,13 +5,15 @@ def new @signup = Signup.new end def create + remember = params[:remember_me] == "1" + @signup = Signup.new(signup_params) if @signup.save - login(@signup.user) + login(@signup.user, remember) respond_to do |format| format.json { head :no_content } format.html { redirect_to root_path }