Skip to content

Commit 22d1ddf

Browse files
Update codeframe/cli/auth_commands.py
Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com>
1 parent a8f67ae commit 22d1ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeframe/cli/auth_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ def rotate_credential(
656656
# Prompt for new value if not provided
657657
if not value:
658658
value = typer.prompt("Enter new credential value", hide_input=True)
659-
659+
value = value.strip()
660660
# Validate format
661661
if not manager.validate_credential_format(provider_enum, value):
662662
console.print("[red]Error:[/red] Invalid credential format")

0 commit comments

Comments
 (0)