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.0.4 app/controllers/login_controller.rb
mumuki-laboratory-9.0.3 app/controllers/login_controller.rb
mumuki-laboratory-9.0.2 app/controllers/login_controller.rb
mumuki-laboratory-9.0.1 app/controllers/login_controller.rb
mumuki-laboratory-9.0.0 app/controllers/login_controller.rb
mumuki-laboratory-8.6.1 app/controllers/login_controller.rb
mumuki-laboratory-8.6.0 app/controllers/login_controller.rb
mumuki-laboratory-8.5.0 app/controllers/login_controller.rb
mumuki-laboratory-8.4.0 app/controllers/login_controller.rb
mumuki-laboratory-8.3.0 app/controllers/login_controller.rb
mumuki-laboratory-8.2.1 app/controllers/login_controller.rb
mumuki-laboratory-8.2.0 app/controllers/login_controller.rb
mumuki-laboratory-8.1.3 app/controllers/login_controller.rb
mumuki-laboratory-8.1.2 app/controllers/login_controller.rb
mumuki-laboratory-8.1.1 app/controllers/login_controller.rb
mumuki-laboratory-8.1.0 app/controllers/login_controller.rb