mirror of
https://github.com/Noratrieb/oh-oh.git
synced 2026-01-14 17:15:02 +01:00
logout
This commit is contained in:
parent
42e44c9db9
commit
ac63b318d4
3 changed files with 28 additions and 1 deletions
|
|
@ -18,6 +18,11 @@
|
|||
</div>
|
||||
{% if let Some(username) = username %}
|
||||
<p>Hello, {{username}}!</p>
|
||||
<div>
|
||||
<form action="/logout" method="post">
|
||||
<button type="submit">Logout</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
<p>Login</p>
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue