casdoor / casdoor-go-sdk

Go client SDK for Casdoor
https://github.com/casdoor/casdoor
Apache License 2.0
88 stars 74 forks source link

SigninItem struct declaration is not the same as Casdoor. Need to add CustomCss field #134

Closed booscaaa closed 3 weeks ago

booscaaa commented 3 weeks ago

SigninItem struct

type SigninItem struct {
    Name        string `json:"name"`
    Visible     bool   `json:"visible"`
    Label       string `json:"label"`
    Placeholder string `json:"placeholder"`
    Rule        string `json:"rule"`
    IsCustom    bool   `json:"isCustom"`
}

Casdoor SigninItem struct https://github.com/casdoor/casdoor/blob/347b25676f8a28d06c0a576d1ba1f8ebef80aa6f/object/application.go#L47

type SigninItem struct {
    Name        string `json:"name"`
    Visible     bool   `json:"visible"`
    Label       string `json:"label"`
    CustomCss   string `json:"customCss"`
    Placeholder string `json:"placeholder"`
    Rule        string `json:"rule"`
    IsCustom    bool   `json:"isCustom"`
}
casbin-bot commented 3 weeks ago

@tangyang9464 @JalinWang @imp2002