add logout and better redirects

This commit is contained in:
SowinskiBraeden committed 2022-04-19 13:21:12 -07:00
1 parent 106c24546e
commit 6257cb2bcb
6 files changed
+88 -23

No files matched your search

+7 -3
View File
@@ -6,8 +6,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
{{ .username }}
{{ .email }}
{{ .firstname }} {{ .lastname }}
<h3>{{ .username }}</h3>
<h3>{{ .email }}</h3>
<h3>{{ .firstname }} {{ .lastname }}</h3>
<form action="/logout" method="POST">
<button type="submit">Logout</button>
</form>
</body>
</html>