<commit_before><?php 
	require_once ('../config.php');
	require_once ('secure/api.php');
	
	$api = new Api ();
	
	if (!$api->isLoggedIn() || !$api->login($_POST['b-login-form__email'], $_POST['b-login-form__password']))
	{
		echo "login failed";
		// header( 'Location: failed_login.php' );
		// die;
	}
?><commit_msg>small logic fix<commit_after><?php 
	require_once ('../config.php');
	require_once ('secure/api.php');
	
	$api = new Api ();
	
	if (!$api->isLoggedIn() && !$api->login($_POST['b-login-form__email'], $_POST['b-login-form__password']))
	{
		echo "login failed";
		// header( 'Location: failed_login.php' );
		// die;
	}
?>
{'fraction_non_alphanumeric': 0.23824451410658307, 'fraction_numerical': 0.0, 'mean_word_length': 4.112, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '5085035', 'n_tokens_mistral': 247, 'n_tokens_neox': 236, 'n_words': 40}