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