<commit_before><?php
require_once 'openid.php';

if(isset($_GET['openid_identifier']))
{
    if(isset($_POST['csrf_token']))
    {
        if($csrf_token != $_POST['csrf_token'])
        {
            throw new Error("csrf token mismatch!");
        }
    }
    else<commit_msg>login is a GET form not POST<commit_after><?php
require_once 'openid.php';

if(isset($_GET['openid_identifier']))
{
    if(isset($_GET['csrf_token']))
    {
        if($csrf_token != $_GET['csrf_token'])
        {
            throw new Error("csrf token mismatch!");
        }
    }
    else
{'fraction_non_alphanumeric': 0.1687170474516696, 'fraction_numerical': 0.0, 'mean_word_length': 2.774834437086093, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5639579', 'n_tokens_mistral': 190, 'n_tokens_neox': 188, 'n_words': 31}