22 lines
No EOL
723 B
HTML
22 lines
No EOL
723 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>login</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
|
|
</head>
|
|
<body>
|
|
<div class="link-container">
|
|
<h1>login</h1>
|
|
<form action="{{ url_for('login_post') }}" method="post">
|
|
{{ csrf_token() }} <!-- Add this line to enable CSRF -->
|
|
<label for="username">username:</label>
|
|
<input type="text" id="username" name="username" required>
|
|
<br>
|
|
<label for="password">password:</label>
|
|
<input type="password" id="password" name="password" required>
|
|
<br>
|
|
<button type="submit">login</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html> |