Commit d86b5afe authored by JB Sazon's avatar JB Sazon Committed by Sander van Harmelen

Add ResetPassword field for CreateUserOptions (#416)

parent 13525b17
...@@ -133,6 +133,7 @@ func (s *UsersService) GetUser(user int, options ...OptionFunc) (*User, *Respons ...@@ -133,6 +133,7 @@ func (s *UsersService) GetUser(user int, options ...OptionFunc) (*User, *Respons
type CreateUserOptions struct { type CreateUserOptions struct {
Email *string `url:"email,omitempty" json:"email,omitempty"` Email *string `url:"email,omitempty" json:"email,omitempty"`
Password *string `url:"password,omitempty" json:"password,omitempty"` Password *string `url:"password,omitempty" json:"password,omitempty"`
ResetPassword *bool `url:"reset_password,omitempty" json:"reset_password,omitempty"`
Username *string `url:"username,omitempty" json:"username,omitempty"` Username *string `url:"username,omitempty" json:"username,omitempty"`
Name *string `url:"name,omitempty" json:"name,omitempty"` Name *string `url:"name,omitempty" json:"name,omitempty"`
Skype *string `url:"skype,omitempty" json:"skype,omitempty"` Skype *string `url:"skype,omitempty" json:"skype,omitempty"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment