Support custom HTML for signup and signin pages.

This commit is contained in:
Gucheng Wang
2021-10-26 13:11:21 +08:00
parent 5526286ad8
commit 2e1b51910f
4 changed files with 66 additions and 2 deletions

View File

@ -44,6 +44,8 @@ type Application struct {
ForgetUrl string `xorm:"varchar(100)" json:"forgetUrl"`
AffiliationUrl string `xorm:"varchar(100)" json:"affiliationUrl"`
TermsOfUse string `xorm:"varchar(1000)" json:"termsOfUse"`
SignupHtml string `xorm:"mediumtext" json:"signupHtml"`
SigninHtml string `xorm:"mediumtext" json:"signinHtml"`
}
func GetApplications(owner string) []*Application {