summaryrefslogtreecommitdiff
path: root/internal/web/signup.go
diff options
context:
space:
mode:
authorLibravatar CDN <cardinal@codeword.info>2024-12-18 17:47:17 +0800
committerLibravatar GitHub <noreply@github.com>2024-12-18 10:47:17 +0100
commitf78002f915eeaaf455873106b289c96b8c4afb5d (patch)
tree03b535df867cd1aa7dccab419de730504fa24415 /internal/web/signup.go
parentupdate gruf/go-ffmpreg to v0.6.4 (#3627) (diff)
downloadgotosocial-f78002f915eeaaf455873106b289c96b8c4afb5d.tar.xz
[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
Diffstat (limited to 'internal/web/signup.go')
-rw-r--r--internal/web/signup.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/internal/web/signup.go b/internal/web/signup.go
index 64b9f4e2d..a943f3680 100644
--- a/internal/web/signup.go
+++ b/internal/web/signup.go
@@ -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,