mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-15 08:57:29 -06:00
[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
This commit is contained in:
parent
131020faeb
commit
bcda048eab
50 changed files with 1118 additions and 309 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue