mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-15 01:15:54 +08:00
fix: use replaceall
This commit is contained in:
parent
6e25b2a195
commit
fa965af248
@ -103,7 +103,7 @@ func (od *GettableOrgDomain) GetSAMLIdpURL() string {
|
||||
func (od *GettableOrgDomain) GetSAMLCert() string {
|
||||
if od.SamlConfig != nil {
|
||||
// remove any whitespaces from the cert
|
||||
cert := strings.TrimSpace(od.SamlConfig.SamlCert)
|
||||
cert := strings.ReplaceAll(od.SamlConfig.SamlCert, " ", "")
|
||||
return cert
|
||||
}
|
||||
return ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user