mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 16:47:30 +00:00
Set LowerName to name with lower case
This commit is contained in:
parent
6457ace318
commit
a9c00d49da
|
@ -189,7 +189,7 @@ func CreateUserFromAP(ctx context.Context, personID fm.PersonID, federationHostI
|
|||
return nil, nil, err
|
||||
}
|
||||
newUser := user.User{
|
||||
LowerName: strings.ToLower(person.PreferredUsername.String()),
|
||||
LowerName: strings.ToLower(name),
|
||||
Name: name,
|
||||
FullName: fullName,
|
||||
Email: email,
|
||||
|
|
Loading…
Reference in a new issue