2023-09-06 22:20:09 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2023-09-15 13:06:31 +01:00
|
|
|
<title>{{.ServiceName}}</title>
|
2023-09-06 22:20:09 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
2023-09-15 13:06:31 +01:00
|
|
|
<h1>{{.ServiceName}}</h1>
|
2023-09-06 22:20:09 +01:00
|
|
|
</header>
|
|
|
|
<main>
|
2023-09-24 18:24:16 +01:00
|
|
|
{{if eq .Mismatch "1"}}
|
|
|
|
<p>Invalid username or password</p>
|
|
|
|
{{end}}
|
|
|
|
{{if eq .Mismatch "2"}}
|
|
|
|
<p>Check your inbox for a verification email</p>
|
|
|
|
{{end}}
|
2023-09-09 01:38:10 +01:00
|
|
|
<form method="POST" action="/login">
|
|
|
|
<input type="hidden" name="redirect" value="{{.Redirect}}"/>
|
2023-09-06 22:20:09 +01:00
|
|
|
<div>
|
2023-09-09 01:38:10 +01:00
|
|
|
<label for="field_username">User Name:</label>
|
|
|
|
<input type="text" name="username" id="field_username" required/>
|
2023-09-06 22:20:09 +01:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-09-09 01:38:10 +01:00
|
|
|
<label for="field_password">Password:</label>
|
|
|
|
<input type="password" name="password" id="field_password" required/>
|
2023-09-06 22:20:09 +01:00
|
|
|
</div>
|
|
|
|
<button type="submit">Login</button>
|
|
|
|
</form>
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|