<commit_before><?php

class LoginController extends BaseController
{
	public function __construct()
	{
		$this->beforeFilter('auth', ['only' => 'getLogout']);
		$this->beforeFilter('guest', ['only' => 'getLogin', 'postLogin']);
	}

	public function getLogin()
	{
		return View::make('login');
	}
	
	public function getLogout()
	{
		Auth::logout();
	
		return Redirect::to('/');
	}
	
	public function postLogin()
	{
		$auth = [
			'email'    => Input::get('email'),
			'password' => Input::get('password'),<commit_msg>Исправление работы формы входа<commit_after><?php

class LoginController extends BaseController
{
	public function __construct()
	{
		parent::__construct();
		
		$this->beforeFilter('auth', ['only' => 'getLogout']);
		$this->beforeFilter('guest', ['only' => 'getLogin', 'postLogin']);
	}

	public function getLogin()
	{
		return View::make('login');
	}
	
	public function getLogout()
	{
		Auth::logout();
	
		return Redirect::to('/');
	}
	
	public function postLogin()
	{
		$auth = [
			'email'    => Input::get('email'),
			'password' => Input::get('password'),
{'fraction_non_alphanumeric': 0.19555143651529194, 'fraction_numerical': 0.0, 'mean_word_length': 4.684210526315789, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '7468163', 'n_tokens_mistral': 390, 'n_tokens_neox': 357, 'n_words': 71}