add logout endpoint

This commit is contained in:
Sky Johnson 2025-06-03 22:36:39 -05:00
parent 1645f837f0
commit 1fc713ee27
3 changed files with 3 additions and 0 deletions

Binary file not shown.

BIN
moonshark

Binary file not shown.

View File

@ -0,0 +1,3 @@
cookie_delete("dkauth")
session_set("logged_in", false)
session_delete("user_id")