mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-13 00:33:02 +03:00
feat: allow sign in with email (#100)
This commit is contained in:
@@ -26,3 +26,8 @@ type OneTimeAccessTokenCreateDto struct {
|
||||
UserID string `json:"userId" binding:"required"`
|
||||
ExpiresAt time.Time `json:"expiresAt" binding:"required"`
|
||||
}
|
||||
|
||||
type OneTimeAccessEmailDto struct {
|
||||
Email string `json:"email" binding:"required,email"`
|
||||
RedirectPath string `json:"redirectPath"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user