mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-03-23 18:15:08 +00:00
fix: one-time-access-token route should get user ID from URL only (#1358)
This commit is contained in:
committed by
GitHub
parent
e0fc4cc01b
commit
27ca713cd4
@@ -3,8 +3,7 @@ package dto
|
||||
import "github.com/pocket-id/pocket-id/backend/internal/utils"
|
||||
|
||||
type OneTimeAccessTokenCreateDto struct {
|
||||
UserID string `json:"userId"`
|
||||
TTL utils.JSONDuration `json:"ttl" binding:"ttl"`
|
||||
TTL utils.JSONDuration `json:"ttl" binding:"ttl"`
|
||||
}
|
||||
|
||||
type OneTimeAccessEmailAsUnauthenticatedUserDto struct {
|
||||
|
||||
Reference in New Issue
Block a user