Sha256: 3c6e92e8a636e60a8ffcdc940ecd9f155e584f3c308343853e0842c20ccfd329

Contents?: true

Size: 478 Bytes

Versions: 7

Compression:

Stored size: 478 Bytes

Contents

# frozen_string_literal: true

module Authentication
  extend ActiveSupport::Concern

  included do
    before_action :configure_permitted_parameters, if: :devise_controller?
  end

  private

  # If you want to add custom attributes to the devise to be editable (ie: username)
  def configure_permitted_parameters
    # devise_parameter_sanitizer.permit(:username)
    # devise_parameter_sanitizer.permit(:username)
    # devise_parameter_sanitizer.permit(:username)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kowl-0.0.7 lib/kowl/templates/app/controllers/concerns/auth/authentication.rb
kowl-0.0.6 lib/kowl/templates/app/controllers/concerns/auth/authentication.rb
kowl-0.0.5 lib/kowl/templates/app/controllers/concerns/auth/authentication.rb
kowl-0.0.4 lib/kowl/templates/app/controllers/concerns/auth/authentication.rb
kowl-0.0.3 lib/kowl/templates/app/controllers/concerns/auth/authentication.rb
kowl-0.0.2 lib/kowl/templates/app/controllers/concerns/auth/authentication.rb
kowl-0.0.1 lib/kowl/templates/app/controllers/concerns/auth/authentication.rb