Skip to content

Commit

Permalink
chore(onbaording)_: enable creating accounts without a displayName
Browse files Browse the repository at this point in the history
  • Loading branch information
jrainville committed Jan 14, 2025
1 parent 4a5a338 commit e446e61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/geth_backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,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
Expand Down
2 changes: 1 addition & 1 deletion mobile/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ func createAccountAndLogin(requestJSON string) string {
}

err = request.Validate(&requests.CreateAccountValidation{
AllowEmptyDisplayName: false,
AllowEmptyDisplayName: true,
})
if err != nil {
return makeJSONResponse(err)
Expand Down

0 comments on commit e446e61

Please sign in to comment.