From a60df289b22007e6031ddb5ba7528e876bef46df Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Thu, 25 Apr 2024 13:42:09 +0200 Subject: [PATCH] fix variable name of returned value by get_existing_authentication() --- plugins/module_utils/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/user.py b/plugins/module_utils/user.py index 1490954..1be3b80 100644 --- a/plugins/module_utils/user.py +++ b/plugins/module_utils/user.py @@ -162,7 +162,7 @@ def user_add(cursor, user, host, host_all, password, encrypted, existing_auth = get_existing_authentication(cursor, user, host) if existing_auth: plugin = existing_auth['plugin'] - plugin_hash_string = existing_auth['auth_string'] + plugin_hash_string = existing_auth['plugin_hash_string'] password = None used_existing_password = True if password and encrypted: