view mod_http_oauth2/html/login.html @ 5381:32a9817c7516

mod_firewall: Initialize compiled chunk just once for all handlers This should fix a case where some stateful dependencies (such as throttles) produce separate instances for every call to new_handler(), leading to surprising behaviour (e.g. rules executed via JUMP CHAIN vs ::deliver would have separate rate limits). This also adds better error handling in case the compiled code fails to run for some reason.
author Matthew Wild <mwild1@gmail.com>
date Fri, 28 Apr 2023 13:27:06 +0100
parents acab61ba7f02
children 398d936e77fb
line wrap: on
line source

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{site_name} - Sign in</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
	<main>
	<h1>{site_name}</h1>
	<fieldset>
	<legend>Sign in</legend>
	<p>Sign in to your account to continue.</p>
	{state.error&<div class="error">
		<p>{state.error}</p>
	</div>}
	<form method="post">
		<input type="text" name="username" placeholder="Username" aria-label="Username" required autofocus><br/>
		<input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required><br/>
		<input type="submit" value="Sign in">
	</form>
	</fieldset>
	</main>
</body>
</html>