Browse Source

chore: fix function names in comment (#3464)

Signed-off-by: mountcount <cuimoman@outlook.com>
pull/3528/head
mountcount 2 years ago committed by GitHub
parent
commit
c6fa45568b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      connector/saml/saml.go
  2. 2
      storage/ent/db/ent.go

2
connector/saml/saml.go

@ -530,7 +530,7 @@ func (p *provider) validateSubject(subject *subject, inResponseTo string) error
return fmt.Errorf("failed to validate subject confirmation: %v", errs)
}
// validationConditions ensures that dex is the intended audience
// validateConditions ensures that dex is the intended audience
// for the request, and not another service provider.
//
// See: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf

2
storage/ent/db/ent.go

@ -78,7 +78,7 @@ var (
columnCheck sql.ColumnCheck
)
// columnChecker checks if the column exists in the given table.
// checkColumn checks if the column exists in the given table.
func checkColumn(table, column string) error {
initCheck.Do(func() {
columnCheck = sql.NewColumnCheck(map[string]func(string) bool{

Loading…
Cancel
Save