fix duplicate accounts
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 2m3s
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 2m3s
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user