This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Based on Simple SQL Authentication module for Prosody IM | |
-- Copyright (C) 2011 Tomasz Sterna <[email protected]> | |
-- Copyright (C) 2011 Waqas Hussain <[email protected]> | |
-- | |
-- 25/05/2014: Modified for Diaspora by Anahuac de Paula Gil - [email protected] | |
-- 06/08/2014: Cleaned up and fixed SASL auth by Jonne Haß <[email protected]> | |
local log = require "util.logger".init("auth_diaspora"); | |
local new_sasl = require "util.sasl".new; | |
local DBI = require "DBI" |