diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-03 20:38:48 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-03 20:38:48 -0400 |
| commit | 289e99ba977ebe6c4599141bc368c17f9905ffcc (patch) | |
| tree | 1dc34400c1284f8246e4bc5f5164b8f805f6cc0a /src/index.rs | |
| parent | b404344a7c4ab5cb6c7d7b445fab796be79b848f (diff) | |
Add logout support.
Diffstat (limited to 'src/index.rs')
| -rw-r--r-- | src/index.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index.rs b/src/index.rs index 6411ff4..98eb47f 100644 --- a/src/index.rs +++ b/src/index.rs @@ -31,6 +31,10 @@ mod templates { } button { "hi" } } + + form action="/logout" method="post" { + button { "bye" } + } } } } |
