Mercurial > prosody-modules
view 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 |
line wrap: on
line source
Output "mod_ircd.out.lua" -- In theory, you should be able to leave all but verses groupchat plugin Module "verse" "verse.lua" Main "mod_ircd.lua"