Skip to content

Commit

Permalink
fix: remove IsUUID req. Closes #119
Browse files Browse the repository at this point in the history
  • Loading branch information
MCBrandenburg committed Feb 7, 2022
1 parent 4cb319a commit 5dc11b5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions fusionauth/resource_fusionauth_user_registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ func newRegistration() *schema.Resource {
ForceNew: true,
},
"authentication_token": {
Type: schema.TypeString,
Optional: true,
Description: "The authentication token that may be used in place of the User’s password when authenticating against this application represented by this registration. This parameter is ignored if generateAuthenticationToken is set to true and instead the value will be generated.",
ValidateFunc: validation.IsUUID,
Computed: true,
Sensitive: true,
Type: schema.TypeString,
Optional: true,
Description: "The authentication token that may be used in place of the User’s password when authenticating against this application represented by this registration. This parameter is ignored if generateAuthenticationToken is set to true and instead the value will be generated.",
Computed: true,
Sensitive: true,
},
"generate_authentication_token": {
Type: schema.TypeBool,
Expand Down

0 comments on commit 5dc11b5

Please sign in to comment.