Skip to content

Commit

Permalink
mysql_user: prevent password getting set for existing users on on_cre…
Browse files Browse the repository at this point in the history
…ate when plugin is used
  • Loading branch information
hubiongithub committed May 5, 2022
1 parent 1dcc5ec commit 82669f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/mysql_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def main():
priv, append_privs, tls_requires, module)
else:
changed, msg = user_mod(cursor, user, host, host_all, None, encrypted,
plugin, plugin_hash_string, plugin_auth_string,
None, None, None,
priv, append_privs, tls_requires, module)

except (SQLParseError, InvalidPrivsError, mysql_driver.Error) as e:
Expand Down

0 comments on commit 82669f5

Please sign in to comment.