Mercurial > prosody-modules
diff mod_auth_sql/README.md @ 6371:caaa9ea58bec
mod_auth_sql: Document database table in README
| author | Christian Weiske <cweiske@cweiske.de> |
|---|---|
| date | Tue, 27 Jan 2026 21:12:21 +0100 |
| parents | f1743e2c23ba |
| children |
line wrap: on
line diff
--- a/mod_auth_sql/README.md Tue Jan 27 21:12:03 2026 +0100 +++ b/mod_auth_sql/README.md Tue Jan 27 21:12:21 2026 +0100 @@ -32,6 +32,17 @@ the module to change it. The default query is compatible with jabberd2 DB schema. + +Database schema +=============== + +`mod_auth_sql` requires a database table `authreg` with the following columns: + +- `username` - First part of the JID, before the `@` +- `realm` - Part of the JID after the `@` +- `password` - Plain text password (insecure!) + + Compatibility =============
