fix duplicate accounts
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 2m3s

This commit is contained in:
Arnaud Delcasse
2026-01-13 13:05:06 +01:00
parent db5bcc292b
commit c958736472

View File

@@ -46,7 +46,7 @@ func (h MobilityAccountsHandler) Register(account storage.Account) (*storage.Acc
}
if account.Authentication.Local != nil && account.Authentication.Local.Email != nil {
email := strings.ToLower(*account.Authentication.Local.Email)
account.Authentication.Local.Username = &email
account.Authentication.Local.Email = &email
}
if account.Authentication.Local != nil {