Added auth and basic chat system
This commit is contained in:
17
templates/logout.html
Normal file
17
templates/logout.html
Normal 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>
|
||||
Reference in New Issue
Block a user