<commit_before>doctype html
html(lang="en")
    head
        meta(http-equiv="X-UA-Compatible", content="IE=edge; charset=UTF-8")
        meta(name="viewport", content="width=device-width", initial-scale=1)

        title NodeCG login

        link(rel='stylesheet', href='/login/login.css')

    body
        div.container
            form(class='form-signin', role='form')
                h2.form-signin-heading Please sign in
                if user !== undefined && !user.allowed
                    div(class='alert alert-danger')
                        strong Access denied!
                        br
                        | Your account is not in the whitelist
                if config.login.steam.enabled
                    a(href='/login/steam')
                        img(src='/login/signin_steam.png')
                if config.login.twitch.enabled
                    a(href='/login/twitch')
                        img(src='/login/signin_twitch.png')
<commit_msg>[login] Fix more crashes caused by not having both Twitch and Steam auth configured<commit_after>doctype html
html(lang="en")
    head
        meta(http-equiv="X-UA-Compatible", content="IE=edge; charset=UTF-8")
        meta(name="viewport", content="width=device-width", initial-scale=1)

        title NodeCG login

        link(rel='stylesheet', href='/login/login.css')

    body
        div.container
            form(class='form-signin', role='form')
                h2.form-signin-heading Please sign in
                if user !== undefined && !user.allowed
                    div(class='alert alert-danger')
                        strong Access denied!
                        br
                        | Your account is not in the whitelist
                if config.login.steam && config.login.steam.enabled
                    a(href='/login/steam')
                        img(src='/login/signin_steam.png')
                if config.login.twitch && config.login.twitch.enabled
                    a(href='/login/twitch')
                        img(src='/login/signin_twitch.png')

{'fraction_non_alphanumeric': 0.11532916866890917, 'fraction_numerical': 0.0028832292167227293, 'mean_word_length': 1.5960099750623442, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4709991', 'n_tokens_mistral': 578, 'n_tokens_neox': 537, 'n_words': 111}