add logout and better redirects
This commit is contained in:
1 parent
106c24546e
commit
6257cb2bcb
6 files changed
+88
-23
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user