Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
booscaaa opened this issue Oct 9, 2024 · 1 comment · Fixed by #135
Closed
Assignees
Labels
enhancement New feature or request

Comments

@booscaaa
Copy link
Contributor

booscaaa commented Oct 9, 2024

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
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants