Sha256: 992a0219115105d31af5c805df1db3074d396ab93b44a6c63185b2f6aacb3b40

Contents?: true

Size: 398 Bytes

Versions: 20

Compression:

Stored size: 398 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!

  private

  def organization_name
    params[:organization] || super
  end

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
mumuki-laboratory-7.5.2 app/controllers/login_controller.rb
mumuki-laboratory-7.5.1 app/controllers/login_controller.rb
mumuki-laboratory-7.5.0 app/controllers/login_controller.rb
mumuki-laboratory-7.4.2 app/controllers/login_controller.rb
mumuki-laboratory-7.4.1 app/controllers/login_controller.rb
mumuki-laboratory-7.4.0 app/controllers/login_controller.rb
mumuki-laboratory-7.3.1 app/controllers/login_controller.rb
mumuki-laboratory-7.3.0 app/controllers/login_controller.rb
mumuki-laboratory-7.2.0 app/controllers/login_controller.rb
mumuki-laboratory-7.1.0 app/controllers/login_controller.rb
mumuki-laboratory-7.0.12 app/controllers/login_controller.rb
mumuki-laboratory-7.0.11 app/controllers/login_controller.rb
mumuki-laboratory-7.0.10 app/controllers/login_controller.rb
mumuki-laboratory-7.0.9 app/controllers/login_controller.rb
mumuki-laboratory-7.0.8 app/controllers/login_controller.rb
mumuki-laboratory-7.0.7 app/controllers/login_controller.rb
mumuki-laboratory-7.0.6 app/controllers/login_controller.rb
mumuki-laboratory-7.0.5 app/controllers/login_controller.rb
mumuki-laboratory-7.0.4 app/controllers/login_controller.rb
mumuki-laboratory-7.0.3 app/controllers/login_controller.rb