Software /
code /
prosody
Comparison
plugins/mod_legacyauth.lua @ 6502:8fed6ea12098
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Oct 2014 20:58:02 +0100 |
parent | 6487:edc63dc72566 |
child | 8768:bd88ca43d77a |
comparison
equal
deleted
inserted
replaced
6485:4224abbf0fdd | 6502:8fed6ea12098 |
---|---|
9 | 9 |
10 | 10 |
11 local st = require "util.stanza"; | 11 local st = require "util.stanza"; |
12 local t_concat = table.concat; | 12 local t_concat = table.concat; |
13 | 13 |
14 local secure_auth_only = module:get_option("c2s_require_encryption") | 14 local secure_auth_only = module:get_option("c2s_require_encryption", |
15 or module:get_option("require_encryption") | 15 module:get_option("require_encryption")) |
16 or not(module:get_option("allow_unencrypted_plain_auth")); | 16 or not(module:get_option("allow_unencrypted_plain_auth")); |
17 | 17 |
18 local sessionmanager = require "core.sessionmanager"; | 18 local sessionmanager = require "core.sessionmanager"; |
19 local usermanager = require "core.usermanager"; | 19 local usermanager = require "core.usermanager"; |
20 local nodeprep = require "util.encodings".stringprep.nodeprep; | 20 local nodeprep = require "util.encodings".stringprep.nodeprep; |