Sha256: 05a1ad2dfdd84c44da483fd42628c6c88043a53edfa88d536b78b93d38668a6e

Contents?: true

Size: 353 Bytes

Versions: 41

Compression:

Stored size: 353 Bytes

Contents

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

  skip_before_action :verify_authenticity_token, if: lambda { Rails.env.development? }

  private

  def organization_name
    params[:organization] || super
  end

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

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
mumuki-laboratory-7.0.2 app/controllers/login_controller.rb
mumuki-laboratory-6.7.7 app/controllers/login_controller.rb
mumuki-laboratory-6.7.6 app/controllers/login_controller.rb
mumuki-laboratory-6.7.5 app/controllers/login_controller.rb
mumuki-laboratory-7.0.1 app/controllers/login_controller.rb
mumuki-laboratory-7.0.0 app/controllers/login_controller.rb
mumuki-laboratory-6.7.4 app/controllers/login_controller.rb
mumuki-laboratory-6.7.3 app/controllers/login_controller.rb
mumuki-laboratory-6.7.2 app/controllers/login_controller.rb
mumuki-laboratory-6.7.1 app/controllers/login_controller.rb
mumuki-laboratory-6.7.0 app/controllers/login_controller.rb
mumuki-laboratory-6.6.1 app/controllers/login_controller.rb
mumuki-laboratory-6.6.0 app/controllers/login_controller.rb
mumuki-laboratory-6.5.1 app/controllers/login_controller.rb
mumuki-laboratory-6.5.0 app/controllers/login_controller.rb
mumuki-laboratory-6.4.2 app/controllers/login_controller.rb
mumuki-laboratory-6.4.1 app/controllers/login_controller.rb
mumuki-laboratory-6.4.0 app/controllers/login_controller.rb
mumuki-laboratory-6.2.0 app/controllers/login_controller.rb
mumuki-laboratory-6.1.5 app/controllers/login_controller.rb