Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
fix field mismatch typo (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehelmick authored Oct 29, 2020
1 parent 1d1a0ea commit cb16ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/database/realm.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (r *Realm) BeforeSave(tx *gorm.DB) error {
}

r.CertificateIssuer = trim(r.CertificateIssuer)
r.CertificateAudience = trim(r.CertificateIssuer)
r.CertificateAudience = trim(r.CertificateAudience)
if r.UseRealmCertificateKey {
if r.CertificateIssuer == "" {
r.AddError("certificateIssuer", "cannot be blank")
Expand Down

0 comments on commit cb16ec4

Please sign in to comment.