Sha256: 0155a4322e9bdcac947b1b82c8fdcbdde44fb688ec56588c83b3412c1e18ed47

Contents?: true

Size: 502 Bytes

Versions: 56

Compression:

Stored size: 502 Bytes

Contents

class LoginController < ApplicationController
  Mumukit::Login.configure_login_controller! self

  skip_before_action :verify_authenticity_token, if: lambda { Rails.env.development? }
  skip_before_action :validate_user_profile!
  skip_before_action :validate_accepted_role_terms!
  skip_before_action :validate_active_organization!

  private

  def organization_name
    params[:organization] || super
  end

  def login_failure!
    redirect_to root_path, alert: request.params['message']
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
mumuki-laboratory-9.22.0 app/controllers/login_controller.rb
mumuki-laboratory-9.21.0 app/controllers/login_controller.rb
mumuki-laboratory-9.20.1 app/controllers/login_controller.rb
mumuki-laboratory-9.20.0 app/controllers/login_controller.rb
mumuki-laboratory-9.19.0 app/controllers/login_controller.rb
mumuki-laboratory-9.18.1 app/controllers/login_controller.rb
mumuki-laboratory-9.18.0 app/controllers/login_controller.rb
mumuki-laboratory-9.17.0 app/controllers/login_controller.rb
mumuki-laboratory-9.16.0 app/controllers/login_controller.rb
mumuki-laboratory-9.15.0 app/controllers/login_controller.rb
mumuki-laboratory-9.14.1 app/controllers/login_controller.rb
mumuki-laboratory-9.14.0 app/controllers/login_controller.rb
mumuki-laboratory-9.13.2 app/controllers/login_controller.rb
mumuki-laboratory-9.13.1 app/controllers/login_controller.rb
mumuki-laboratory-9.13.0 app/controllers/login_controller.rb
mumuki-laboratory-9.12.1 app/controllers/login_controller.rb
mumuki-laboratory-9.12.0 app/controllers/login_controller.rb
mumuki-laboratory-9.11.0 app/controllers/login_controller.rb
mumuki-laboratory-9.10.0 app/controllers/login_controller.rb
mumuki-laboratory-9.9.0 app/controllers/login_controller.rb