aboutsummaryrefslogtreecommitdiffstats
path: root/api/dto/auth.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2025-08-23 22:29:28 +0100
committerLeonardo Bishop <me@leonardobishop.com>2025-08-23 22:29:28 +0100
commitecc6a55aba7bb35fc778e7a53848396b88214151 (patch)
tree1b37a2dc5f4594155114da1ae0c4529d20a4c548 /api/dto/auth.go
parent8f7dec8ba6b2f9bde01afd0a110596ebbd43e0ed (diff)
Add multiple conferences feature
Diffstat (limited to 'api/dto/auth.go')
-rw-r--r--api/dto/auth.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/api/dto/auth.go b/api/dto/auth.go
index 0379f21..734bb31 100644
--- a/api/dto/auth.go
+++ b/api/dto/auth.go
@@ -11,12 +11,14 @@ type LoginOAuthCallbackRequest struct {
}
type LoginOAuthOutboundResponse struct {
- URL string `json:"url" validate:"required"`
+ URL string `json:"url"`
}
type LoginResponse struct {
ID int32 `json:"id"`
+ Token string `json:"token"`
Username string `json:"username"`
+ Admin bool `json:"admin"`
}
type LoginOptionsResponse struct {