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