Skip to content
Snippets Groups Projects
Commit 3a47db41 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

auth_config: default to saving the changes

parent a871379f
No related branches found
No related tags found
1 merge request!64auth_config: various changes to UX
Pipeline #10243 passed
......@@ -289,7 +289,7 @@ def auth_config(ctx: Context, username: str, token: str):
click.echo(f"Changes made:\n{diff}")
msg = f"Skipping write of authentication configuration file {config_file}"
if old_cfg == cfg or not click.confirm(
f"Save authentication settings to {config_file}?"
f"Save authentication settings to {config_file}?", default=True
):
click.echo(click.style(msg, fg="yellow"))
ctx.exit(0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment