Skip to content

Commit

Permalink
fix: improved output of user add command
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Dec 13, 2023
1 parent 3e4a7ae commit b3eaba6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/userctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ def add(
input=f"{password}\n{password}\n".encode("utf-8"),
)

typer.echo(f"Password for {user}: {password}")
typer.echo("Login data for new user:")
typer.echo(f"Username: {user}")
typer.echo(f"Password: {password}")
typer.echo("The initial password has to be changed on the first login.")


@app.command()
Expand Down

0 comments on commit b3eaba6

Please sign in to comment.