Skip to content

Commit

Permalink
Revert "address pr comment"
Browse files Browse the repository at this point in the history
This reverts commit 562ccb2.

To be included in a future PR pending design decisions.
  • Loading branch information
efd6 committed Aug 5, 2024
1 parent 562ccb2 commit 00c8b2a
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,9 @@ type User struct {
//
// See https://developer.okta.com/docs/reference/api/users/#credentials-object for details.
type Credentials struct {
Password *struct{} `json:"password,omitempty"` // Contains "value"; omit but mark.
RecoveryQuestion *struct {
// Also contains "answer""; intentionally omitted.
Question string `json:"question"`
} `json:"recovery_question,omitempty"`
Provider Provider `json:"provider"`
Password *struct{} `json:"password,omitempty"` // Contains "value"; omit but mark.
RecoveryQuestion *struct{} `json:"recovery_question,omitempty"` // Contains "question" and "answer"; omit but mark.
Provider Provider `json:"provider"`
}

// Provider is an Okta credential provider.
Expand Down

0 comments on commit 00c8b2a

Please sign in to comment.