Software /
code /
prosody
Comparison
core/usermanager.lua @ 3608:ae0f83feaff4
modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated').
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 10 Nov 2010 22:27:09 +0500 |
parent | 3540:bc139431830b |
child | 3612:5547acd18a9f |
comparison
equal
deleted
inserted
replaced
3607:e1259b6d7560 | 3608:ae0f83feaff4 |
---|---|
55 if auth_provider ~= "null" then | 55 if auth_provider ~= "null" then |
56 modulemanager.load(host, "auth_"..auth_provider); | 56 modulemanager.load(host, "auth_"..auth_provider); |
57 end | 57 end |
58 end; | 58 end; |
59 prosody.events.add_handler("host-activated", initialize_host, 100); | 59 prosody.events.add_handler("host-activated", initialize_host, 100); |
60 prosody.events.add_handler("component-activated", initialize_host, 100); | |
61 | 60 |
62 function test_password(username, host, password) | 61 function test_password(username, host, password) |
63 return hosts[host].users.test_password(username, password); | 62 return hosts[host].users.test_password(username, password); |
64 end | 63 end |
65 | 64 |