Added auth and basic chat system

This commit is contained in:
2025-08-22 10:10:49 +01:00
parent d61b09cb8e
commit ed00ec8251
12 changed files with 1126 additions and 1 deletions

17
templates/logout.html Normal file
View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Logout | {{ appName }}</title>
</head>
<body>
<div>
<p>You have been logged out</p>
<p><a href="{{ url_for('index') }}">Log back in</a></p>
</div>
<script>
document.cookie = "auth_token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
</script>
</body>
</html>