emqx / emqx-docs

EMQX product documentation
https://docs.emqx.com/
156 stars 264 forks source link

Password example is incorrect #2698

Open ZarkosN opened 1 month ago

ZarkosN commented 1 month ago

File: /en_US/access-control/authn/postgresql.md

I found a error in password example.

Says: INSERT INTO mqtt_user(username, password_hash, salt, is_superuser) VALUES ('user123', 'bede90386d450cea8b77b822f8887065e4e5abf132c2f9dccfcc7fbd4cba5e35', 'salt', true); INSERT 0 1

Must say: INSERT INTO mqtt_user(username, password_hash, salt, is_superuser) VALUES ('user123', 'f84fa2149dbb62ed4e0cf1f550d2949b33a6513d3a7707e08502511c79ccb0ee', 'salt', true); INSERT 0 1