<commit_before><?php
class UsersController extends AppController {
	var $name = 'Users';
	var $helpers = array('JqueryForm');
	
	/** beforeFilter
	 * Controller beforeFilter callback.
	 * Called before the controller action. 
	 * 
	 * @return void
	 */
	function beforeFilter() {
	    parent::beforeFilter();
	    $this->Auth->allow('logout');
	}
	
	/** login
	 *
	 */
	function login() {
	    //Auth magikz
	}
	
	/** logout
	 *
	 */
	function logout() {
		$this->Session->setFlash('Good-Bye');
		$this->redirect($this->Auth->logout());
	}

    /** index
	 *
	 */
	function index() {
		$this->User->recursive = 0;<commit_msg>destroy session on logout<commit_after><?php
class UsersController extends AppController {
	var $name = 'Users';
	var $helpers = array('JqueryForm');
	
	/** beforeFilter
	 * Controller beforeFilter callback.
	 * Called before the controller action. 
	 * 
	 * @return void
	 */
	function beforeFilter() {
	    parent::beforeFilter();
	    $this->Auth->allow('logout');
	}
	
	/** login
	 *
	 */
	function login() {
	    //Auth magikz
	}
	
	/** logout
	 *
	 */
	function logout() {
		$this->Session->setFlash('Good-Bye');
		$this->Session->destroy();
		$this->redirect($this->Auth->logout());
	}

    /** index
	 *
	 */
	function index() {
		$this->User->recursive = 0;
{'fraction_non_alphanumeric': 0.17815646785437644, 'fraction_numerical': 0.001549186676994578, 'mean_word_length': 3.0249221183800623, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '1762378', 'n_tokens_mistral': 463, 'n_tokens_neox': 402, 'n_words': 85}