<commit_before><?php
App::uses('UserAppController', 'User.Controller');
/**
 * Users Controller
 *
 * @property User $User
 * @property PaginatorComponent $Paginator
 */
class UsersController extends UserAppController {

    public function beforeFilter(){
        $this->Auth->allow(array('add','login'));
    }

    /**
     * admin_index method
     *
     * @return void
     */
    public $components = array('Paginator');

    public $helpers = array('Session');

    public function login(){
        $this->layout = 'User.login';
        if ($this->request->is('post')) {
            if ($this->Auth->login()) {
                if ($this->request->data['User']['remember_me'] == 1) {
                    // remove "remember me checkbox"
                    unset($this->request->data['User']['remember_me']);

                    // hash the user's password
                    $this->request->data['User']['password'] = $this->Auth->password($this->request->data['User']['password']);
<commit_msg>fix missing parent:: call<commit_after><?php
App::uses('UserAppController', 'User.Controller');
/**
 * Users Controller
 *
 * @property User $User
 * @property PaginatorComponent $Paginator
 */
class UsersController extends UserAppController {

    public function beforeFilter(){
        parent::beforeFilter();
        $this->Auth->allow(array('add','login'));
    }

    /**
     * admin_index method
     *
     * @return void
     */
    public $components = array('Paginator');

    public $helpers = array('Session');

    public function login(){
        $this->layout = 'User.login';
        if ($this->request->is('post')) {
            if ($this->Auth->login()) {
                if ($this->request->data['User']['remember_me'] == 1) {
                    // remove "remember me checkbox"
                    unset($this->request->data['User']['remember_me']);

                    // hash the user's password
                    $this->request->data['User']['password'] = $this->Auth->password($this->request->data['User']['password']);

{'fraction_non_alphanumeric': 0.17964946445959104, 'fraction_numerical': 0.0009737098344693282, 'mean_word_length': 2.4889643463497455, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 37, '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': '1052637', 'n_tokens_mistral': 554, 'n_tokens_neox': 529, 'n_words': 108}