Sha256: 136581ebd7baaa9f4dffadf2173cbf83b7e1b5ac2f2357a9305264b64c85612d

Contents?: true

Size: 450 Bytes

Versions: 26

Compression:

Stored size: 450 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_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

26 entries across 26 versions & 1 rubygems

Version Path
mumuki-laboratory-7.12.3 app/controllers/login_controller.rb
mumuki-laboratory-8.0.0 app/controllers/login_controller.rb
mumuki-laboratory-7.12.1 app/controllers/login_controller.rb
mumuki-laboratory-7.12.0 app/controllers/login_controller.rb
mumuki-laboratory-7.11.1 app/controllers/login_controller.rb
mumuki-laboratory-7.11.0 app/controllers/login_controller.rb
mumuki-laboratory-7.10.5 app/controllers/login_controller.rb
mumuki-laboratory-7.10.4 app/controllers/login_controller.rb
mumuki-laboratory-7.10.3 app/controllers/login_controller.rb
mumuki-laboratory-7.10.2 app/controllers/login_controller.rb
mumuki-laboratory-7.10.1 app/controllers/login_controller.rb
mumuki-laboratory-7.10.0 app/controllers/login_controller.rb
mumuki-laboratory-7.9.2 app/controllers/login_controller.rb
mumuki-laboratory-7.9.1 app/controllers/login_controller.rb
mumuki-laboratory-7.9.0 app/controllers/login_controller.rb
mumuki-laboratory-7.7.6 app/controllers/login_controller.rb
mumuki-laboratory-7.7.5 app/controllers/login_controller.rb
mumuki-laboratory-7.7.4 app/controllers/login_controller.rb
mumuki-laboratory-7.8.0 app/controllers/login_controller.rb
mumuki-laboratory-7.7.3 app/controllers/login_controller.rb