Mercurial > prosody-modules
annotate mod_ircd/squishy @ 354:f24998ec7f8d
Implemented basic SQL authentication module.
This module implements authentication against plaintext password stored in SQL database.
You wil definitely need to edit the Lua code and put a query working with your database.
The example query works against jabberd2 database schema.
P.S. This module is just some code glued together from other modules. ;-)
author | Tomasz Sterna <tomek@xiaoka.com> |
---|---|
date | Tue, 12 Apr 2011 00:30:53 +0200 |
parents | b92c81f8aed4 |
children | 21cb01de89a8 |
rev | line source |
---|---|
327 | 1 Output "mod_ircd.out.lua" |
326
282abba844e8
mod_ircd: Partial rewrite, use verse for MUC
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 |
282abba844e8
mod_ircd: Partial rewrite, use verse for MUC
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 -- In theory, you should be able to leave all but verses groupchat plugin |
282abba844e8
mod_ircd: Partial rewrite, use verse for MUC
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 Module "verse" "verse.lua" |
282abba844e8
mod_ircd: Partial rewrite, use verse for MUC
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 |
327 | 6 Main "mod_ircd.lua" |