[bugfix] Load instance-wide custom css in page stylesheets template (#3601)

* [bugfix] Load instance-wide custom css in page stylesheets template

* [chore] remove redunt import
This commit is contained in:
CDN 2024-12-18 17:47:17 +08:00 committed by GitHub
commit f78002f915
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 15 additions and 14 deletions

View file

@ -126,10 +126,9 @@ func (m *Module) signupPOSTHandler(c *gin.Context) {
// Serve a page informing the
// user that they've signed up.
page := apiutil.WebPage{
Template: "signed-up.tmpl",
Instance: instance,
Stylesheets: []string{instanceCustomCSSPath},
OGMeta: apiutil.OGBase(instance),
Template: "signed-up.tmpl",
Instance: instance,
OGMeta: apiutil.OGBase(instance),
Extra: map[string]any{
"email": user.UnconfirmedEmail,
"username": user.Account.Username,