changeset 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 81f06628fea4
files mod_auth_sql/README.md
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
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
 =============