json bson for validated field
This commit is contained in:
@@ -23,6 +23,6 @@ type LocalAuth struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Validation struct {
|
type Validation struct {
|
||||||
Validated bool
|
Validated bool `json:"validated" bson:"validated"`
|
||||||
ValidationCode string `json:"validation_code" bson:"validation_code"`
|
ValidationCode string `json:"validation_code" bson:"validation_code"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user