Skip to content

Commit 96a539e

Browse files
committed
Update equals method
1 parent 79c6164 commit 96a539e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/jenkinsci/plugins/GithubSecurityRealm.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,9 @@ public boolean equals(Object object){
785785
this.getGithubApiUri().equals(obj.getGithubApiUri()) &&
786786
this.getClientID().equals(obj.getClientID()) &&
787787
this.getClientSecret().equals(obj.getClientSecret()) &&
788-
this.getOauthScopes().equals(obj.getOauthScopes());
788+
this.getOauthScopes().equals(obj.getOauthScopes()) &&
789+
this.getEmailDomains().equals(obj.getEmailDomains()) &&
790+
this.getForceGithubEmail().equals(obj.getForceGithubEmail());
789791
} else {
790792
return false;
791793
}

0 commit comments

Comments
 (0)