<commit_before><div class="page-header">
	<?php
	$error = "";
	if (isset($_GET["err"])):
		switch ($_GET["err"]) {
			case 'noadmin':
				$error = '<strong>Fel:</strong> Denna funktionen kräver administrationsrättigheter.';
				break;
			case '1':
				$error = '<strong>Fel:</strong> Du har angivit felaktiga inloggningsuppgifter.';
				break;
			default:
				$error = '<strong>Okänt fel:</strong> "' . $_GET["error"] . '"';
		}
		?>
		<div class="alert alert-danger"><span class="glyphicon glyphicon-warning-sign"></span> <?= $error ?></div>
	<?php endif; ?>
	<div class="container">
		<h1>Välkommen till IT:s Autentiseringssystem!</h1>
	</div>
</div>
<div class="row">
	<?php if (!is_signed_in()): ?>
	<div class="col-lg-4">
		<p>Beskrivande text för ej inloggade användare</p>
	</div>
		<div class="col-lg-5 col-lg-offset-3">
		 <form role="form" class="form-horizontal" method="post" action="/auth/login.php">
			<?php
				form_control("username", "CID", "input", "user", true);
				form_control("password", "<PASSWORD>", "password", "<PASSWORD>", false);
			?>
			<div class="form-group">
	<div class="col-lg-offset-2 col-lg-10"><commit_msg>hidden input<commit_after><div class="page-header">
	<?php
	$error = "";
	if (isset($_GET["err"])):
		switch ($_GET["err"]) {
			case 'noadmin':
				$error = '<strong>Fel:</strong> Denna funktionen kräver administrationsrättigheter.';
				break;
			case '1':
				$error = '<strong>Fel:</strong> Du har angivit felaktiga inloggningsuppgifter.';
				break;
			default:
				$error = '<strong>Okänt fel:</strong> "' . $_GET["error"] . '"';
		}
		?>
		<div class="alert alert-danger"><span class="glyphicon glyphicon-warning-sign"></span> <?= $error ?></div>
	<?php endif; ?>
	<div class="container">
		<h1>Välkommen till IT:s Autentiseringssystem!</h1>
	</div>
</div>
<div class="row">
	<?php if (!is_signed_in()): ?>
	<div class="col-lg-4">
		<p>Beskrivande text för ej inloggade användare</p>
	</div>
		<div class="col-lg-5 col-lg-offset-3">
		 <form role="form" class="form-horizontal" method="post" action="/auth/login.php">
			<input type="hidden" name="redirect_to" value="/auth" />
			<?php
				form_control("username", "CID", "input", "user", true);
				form_control("password", "<PASSWORD>", "password", "<PASSWORD>", false);
			?>
			<div class="form-group">
	<div class="col-lg-offset-2 col-lg-10">
{'fraction_non_alphanumeric': 0.219906422798809, 'fraction_numerical': 0.0076563164610803916, 'mean_word_length': 4.444444444444445, 'pattern_counts': {'":': 0, '<': 68, '<?xml version=': 0, '>': 68, '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': '2668408', 'n_tokens_mistral': 964, 'n_tokens_neox': 865, 'n_words': 178}