<commit_before># This controller handles the login/logout function of the site.  
class SessionsController < ApplicationController

  before_filter :signup_admin_if_not_users,:only=>:new
  skip_before_filter :project_membership_required
  skip_before_filter :profile_for_login_required,:only=>[:new,:destroy]
  prepend_before_filter :strip_root_for_xml_requests
  
  # render new.rhtml
  def new
    
  end

  def auto_openid
    create
  end

  def index    
    redirect_to root_path
  end

  def show
    redirect_to root_path
  end

  def create
    raise "fred"
    if using_open_id?
      open_id_authentication
    else      
      password_authentication
    end   
  end
<commit_msg>removed deliberate throwing of error during login<commit_after># This controller handles the login/logout function of the site.  
class SessionsController < ApplicationController

  before_filter :signup_admin_if_not_users,:only=>:new
  skip_before_filter :project_membership_required
  skip_before_filter :profile_for_login_required,:only=>[:new,:destroy]
  prepend_before_filter :strip_root_for_xml_requests
  
  # render new.rhtml
  def new
    
  end

  def auto_openid
    create
  end

  def index    
    redirect_to root_path
  end

  def show
    redirect_to root_path
  end

  def create   
    if using_open_id?
      open_id_authentication
    else      
      password_authentication
    end   
  end

{'fraction_non_alphanumeric': 0.041251778093883355, 'fraction_numerical': 0.0, 'mean_word_length': 3.5096153846153846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6597984', 'n_tokens_mistral': 449, 'n_tokens_neox': 436, 'n_words': 106}