openstack-python-openstackc.../openstackclient/identity
Chaemin-Lim eea369e73c Fix incorrect warning with --password-prompt option
When creating a user with the --password-prompt option, a warning is
incorrectly displayed stating that no password was supplied, even though
a password was entered. This occurs because the code checks parsed_args.password
instead of the password variable that actually stores the prompted password.

This patch fixes the issue by checking the 'password' variable
instead of 'parsed_args.password' in the warning condition. A test
case has been added to verify that no warning is displayed when
using --password-prompt and entering a password.

Closes-Bug: #2091836
Change-Id: Ib3ddc7e400ee7988f605c00db534bccc3617d982
2025-05-19 16:12:06 +09:00
..
v2_0 typing: Correct type for missing attributes 2025-03-31 17:52:16 +01:00
v3 Fix incorrect warning with --password-prompt option 2025-05-19 16:12:06 +09:00
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
client.py Permit use of tuple API_VERSIONS 2025-04-01 10:36:02 +01:00
common.py identity: Fix listing of applications credentials by user 2025-05-15 15:59:34 +01:00