[prosody-dev] [PATCH v2] Prosody modules: mod_auth_sql: Support for setting SQL queries from the configuration file

2018-01-30 Thread senya
This patch adds configuration options `password_sql_query` and `usernames_sql_query` which can be used for setting arbitrary SQL query to retrieve users list or password instead of the hard coded values. The new configuration options are expected to be string with an SQL query. The options support

[prosody-dev] [PATCH] Prosody modules: mod_auth_sql: Support for setting SQL queries from the configuration file

2018-01-30 Thread senya
This patch adds configuration options `password_sql_query` and `usernames_sql_query` which can be used for setting arbitrary SQL query to retrieve users list or password instead of the hard coded values. The new configuration options are expected to be string with an SQL query. The options support