1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

fix: wmail should start with char

This commit is contained in:
Michael Jerger 2024-01-08 18:21:55 +01:00
parent f0af660cf9
commit de2569618c

View file

@ -233,7 +233,7 @@ func createUserFromAP(ctx *context.APIContext, personID forgefed.PersonID) (*use
} }
log.Info("RepositoryInbox: validated person: %q", person) log.Info("RepositoryInbox: validated person: %q", person)
email := fmt.Sprintf("%v@%v", uuid.New().String(), personID.Host) email := fmt.Sprintf("f%v@%v", uuid.New().String(), personID.Host)
loginName := personID.AsLoginName() loginName := personID.AsLoginName()
name := fmt.Sprintf("%v%v", person.PreferredUsername.String(), personID.HostSuffix()) name := fmt.Sprintf("%v%v", person.PreferredUsername.String(), personID.HostSuffix())
log.Info("RepositoryInbox: person.Name: %v", person.Name) log.Info("RepositoryInbox: person.Name: %v", person.Name)