diff --git a/api/geth_backend.go b/api/geth_backend.go index a0e6e68208..a75373af7b 100644 --- a/api/geth_backend.go +++ b/api/geth_backend.go @@ -1750,7 +1750,7 @@ func (b *GethStatusBackend) getDerivedAddresses(id string) (map[string]generator // NOTE: requests.CreateAccount is used for public, params.Option maybe used for internal usage. func (b *GethStatusBackend) CreateAccountAndLogin(request *requests.CreateAccount, opts ...params.Option) (*multiaccounts.Account, error) { validation := &requests.CreateAccountValidation{ - AllowEmptyDisplayName: false, + AllowEmptyDisplayName: true, } if err := request.Validate(validation); err != nil { return nil, err diff --git a/mobile/status.go b/mobile/status.go index 1587f43533..e7e73824df 100644 --- a/mobile/status.go +++ b/mobile/status.go @@ -529,7 +529,7 @@ func createAccountAndLogin(requestJSON string) string { } err = request.Validate(&requests.CreateAccountValidation{ - AllowEmptyDisplayName: false, + AllowEmptyDisplayName: true, }) if err != nil { return makeJSONResponse(err)