Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Creating user without password succeeds despite error #1

@beyang

Description

@beyang

When creating a users with src user create, if a password is not provided, then an error is printed, but the user is created without a password anyway.

Repro:

$ src user create johndoe
rpc error: code = 6 desc = "account \"johndoe\" already exists"
$ src user create johndoe
rpc error: code = 6 desc = "account \"johndoe\" already exists"

Expected: the user should not be created if no password is specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions