app/controllers/users_controller.rb in tkh_authentication-0.0.1 vs app/controllers/users_controller.rb in tkh_authentication-0.0.2

- old
+ new

@@ -12,10 +12,10 @@ end def create @user = User.new(params[:user]) if @user.save - session[:user_id] = @user.id + cookies[:auth_token] = @user.auth_token redirect_to root_url, notice: t('authentication.signup_confirmation') else render "new" end end