lib/generators/authentication/templates/controllers/api/sessions_controller.rb.tt in authentication-zero-2.16.11 vs lib/generators/authentication/templates/controllers/api/sessions_controller.rb.tt in authentication-zero-2.16.12

- old
+ new

@@ -1,10 +1,7 @@ class SessionsController < ApplicationController skip_before_action :authenticate, only: :create - <%- if options.lockable? -%> - before_action :require_lock, attempts: 20, only: :create - <%- end -%> before_action :set_session, only: %i[ show destroy ] def index render json: Current.user.sessions.order(created_at: :desc) end