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 authored Jan 21, 2025
1 parent 9beefed commit 3e0b1b2
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 @@ -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
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 3e0b1b2

Please sign in to comment.