summaryrefslogtreecommitdiff
path: root/types/auth.go
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-12-22 13:46:50 +0530
committerBobby <[email protected]>2025-12-22 13:46:50 +0530
commit32ee8047eba06c9f1c7575b66fc0f9195657ac04 (patch)
treeed781e7b05aeba0b5db78e69918edd6a0928c9e1 /types/auth.go
parentf17d9142781eb1a659ea53311d9225b244ad209c (diff)
downloadlain-32ee8047eba06c9f1c7575b66fc0f9195657ac04.tar.xz
lain-32ee8047eba06c9f1c7575b66fc0f9195657ac04.zip
auth engine, basic login working
Diffstat (limited to 'types/auth.go')
-rw-r--r--types/auth.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/types/auth.go b/types/auth.go
new file mode 100644
index 0000000..d22f8d9
--- /dev/null
+++ b/types/auth.go
@@ -0,0 +1,6 @@
+package types
+
+type LoginForm struct {
+ Email string `json:"email" form:"email"`
+ Password string `json:"password" form:"password"`
+}