summaryrefslogtreecommitdiff
path: root/internal/web/signup.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-06-06 15:43:25 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-06 14:43:25 +0100
commitbcda048eab799284fc46d74706334bf9ef76dc83 (patch)
treec4595fe5e6e6fd570d59cee7095a336f2e884344 /internal/web/signup.go
parentdrop date (#2969) (diff)
downloadgotosocial-bcda048eab799284fc46d74706334bf9ef76dc83.tar.xz
[feature] Self-serve email change for users (#2957)
* [feature] Email change * frontend stuff for changing email * docs * tests etc * differentiate more clearly between local user+account and account * populate user
Diffstat (limited to 'internal/web/signup.go')
-rw-r--r--internal/web/signup.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/web/signup.go b/internal/web/signup.go
index 691469dff..bc30749f8 100644
--- a/internal/web/signup.go
+++ b/internal/web/signup.go
@@ -108,9 +108,9 @@ func (m *Module) signupPOSTHandler(c *gin.Context) {
}
form.IP = signUpIP
- // We have all the info we need, call account create
+ // We have all the info we need, call user+account create
// (this will also trigger side effects like sending emails etc).
- user, errWithCode := m.processor.Account().Create(
+ user, errWithCode := m.processor.User().Create(
c.Request.Context(),
// nil to use
// instance app.