Added logout
This commit is contained in:
@ -8,6 +8,6 @@
|
||||
<input name="password" placeholder="Neues Passwort" type="password" />
|
||||
<input name="password2" placeholder="Wiederholen" type="password" />
|
||||
|
||||
<input type="submit" hx-post="/update-user/" hx-target="#page-content" />
|
||||
<input type="submit" value="Aktualisieren" hx-post="/update-user/" hx-target="#page-content" />
|
||||
</form>
|
||||
{{end}}
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
<body>
|
||||
<h1>Orient Editor</h1>
|
||||
<button hx-get="logout" hx-target="#page-content">Abmelden</button>
|
||||
|
||||
<div id="page-content">
|
||||
{{template "page-content" .}}
|
||||
|
Reference in New Issue
Block a user