Skip to content

Commit

Permalink
Merge 3fed532 into 2db76f3
Browse files Browse the repository at this point in the history
  • Loading branch information
Fratt committed Jun 20, 2019
2 parents 2db76f3 + 3fed532 commit b93706d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
2 changes: 1 addition & 1 deletion api/management/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func TestValidateRealmCustomConfiguration(t *testing.T) {
assert.Nil(t, config.Validate())
}

defaultClientID := "f467ed7c"
defaultClientID := "backofficeid"
defaultRedirectURI := "ht//tp://company.com"

var configs []RealmCustomConfiguration
Expand Down

0 comments on commit b93706d

Please sign in to comment.