<commit_before>class SessionsController < ApplicationController
  skip_before_filter :login_required

  def new
    # send user to FUSESource login
    cookies[REDIRECT_BACK_COOKIE_NAME] = { :value => FUSEFORGE_URL + (session[:return_to].nil? ? '' : session[:return_to]), 
     :domain => REDIRECT_BACK_COOKIE_DOMAIN_NAME }
    redirect_to "#{FUSESOURCE_URL}login"
  end

  def destroy
    reset_session

    # send user to FUSESource logout
    cookies[REDIRECT_BACK_COOKIE_NAME] = { :value => FUSEFORGE_URL, :domain => REDIRECT_BACK_COOKIE_DOMAIN_NAME } 
    redirect_to "#{FUSESOURCE_URL}logout"
  end
end<commit_msg>change to sessions new<commit_after>class SessionsController < ApplicationController
  skip_before_filter :login_required

  def new
    # send user to FUSESource login
    cookies[REDIRECT_BACK_COOKIE_NAME] = { :value => FUSEFORGE_URL + (session[:return_to].nil? ? '' : session[:return_to].downcase), 
     :domain => REDIRECT_BACK_COOKIE_DOMAIN_NAME }
    redirect_to "#{FUSESOURCE_URL}login"
  end

  def destroy
    reset_session

    # send user to FUSESource logout
    cookies[REDIRECT_BACK_COOKIE_NAME] = { :value => FUSEFORGE_URL, :domain => REDIRECT_BACK_COOKIE_DOMAIN_NAME } 
    redirect_to "#{FUSESOURCE_URL}logout"
  end
end
{'fraction_non_alphanumeric': 0.08982511923688394, 'fraction_numerical': 0.0, 'mean_word_length': 4.910798122065728, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1442532', 'n_tokens_mistral': 439, 'n_tokens_neox': 438, 'n_words': 80}