Software /
code /
prosody
Comparison
plugins/mod_auth_internal_plain.lua @ 5781:b374eb414a32
mod_auth_internal_plain: Remove "initializing" log message, hostmanager logs this too
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 10 Aug 2013 20:10:30 +0200 |
parent | 5780:bc3bf4ded7e4 |
child | 8057:4a9275594981 |
comparison
equal
deleted
inserted
replaced
5780:bc3bf4ded7e4 | 5781:b374eb414a32 |
---|---|
14 | 14 |
15 local accounts = module:open_store("accounts"); | 15 local accounts = module:open_store("accounts"); |
16 | 16 |
17 -- define auth provider | 17 -- define auth provider |
18 local provider = {}; | 18 local provider = {}; |
19 log("debug", "initializing internal_plain authentication provider for host '%s'", host); | |
20 | 19 |
21 function provider.test_password(username, password) | 20 function provider.test_password(username, password) |
22 log("debug", "test password for user '%s'", username); | 21 log("debug", "test password for user '%s'", username); |
23 local credentials = accounts:get(username) or {}; | 22 local credentials = accounts:get(username) or {}; |
24 | 23 |