Add user to validate_session

Resolves #379
This commit is contained in:
Lakhan Samani
2023-08-19 20:44:38 +05:30
parent 5e6b033024
commit a124edfaee
6 changed files with 111 additions and 1277 deletions

View File

@@ -469,7 +469,8 @@ type ValidateSessionInput struct {
}
type ValidateSessionResponse struct {
IsValid bool `json:"is_valid"`
IsValid bool `json:"is_valid"`
User *User `json:"user"`
}
type VerificationRequest struct {