mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
fix: fix the issue of adding xmlns="" when generating XML (#2799)
* fix:solve the problem of adding xmlns="" when generating XML * fix:remove fmt.Println * Update saml_idp.go --------- Co-authored-by: zhaoxianfei <zhaoxianfei@meiqia.cn> Co-authored-by: Eric Luo <hsluoyz@qq.com>
This commit is contained in:
parent
3875896c1e
commit
e1e5943a3e
@ -179,8 +179,8 @@ type IdpSSODescriptor struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type NameIDFormat struct {
|
type NameIDFormat struct {
|
||||||
XMLName xml.Name
|
// XMLName xml.Name
|
||||||
Value string `xml:",innerxml"`
|
Value string `xml:",innerxml"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SingleSignOnService struct {
|
type SingleSignOnService struct {
|
||||||
@ -190,7 +190,7 @@ type SingleSignOnService struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Attribute struct {
|
type Attribute struct {
|
||||||
XMLName xml.Name
|
// XMLName xml.Name
|
||||||
Name string `xml:"Name,attr"`
|
Name string `xml:"Name,attr"`
|
||||||
NameFormat string `xml:"NameFormat,attr"`
|
NameFormat string `xml:"NameFormat,attr"`
|
||||||
FriendlyName string `xml:"FriendlyName,attr"`
|
FriendlyName string `xml:"FriendlyName,attr"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user