Skip to content

Commit

Permalink
CLOUDTRUST-1399 fix SetRealmCustomConfiguration ClientId validation
Browse files Browse the repository at this point in the history
  • Loading branch information
fratt-elca committed Jun 20, 2019
1 parent 2db76f3 commit 6c0fa07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/management/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func (password PasswordRepresentation) Validate() error {
}

func (config RealmCustomConfiguration) Validate() error {
if config.DefaultClientId != nil && !matchesRegExp(*config.DefaultClientId, RegExpID) {
if config.DefaultClientId != nil && !matchesRegExp(*config.DefaultClientId, RegExpClientID) {
return errors.New("Invalid default client ID")
}

Expand Down

0 comments on commit 6c0fa07

Please sign in to comment.