# HG changeset patch # User Matthew Wild # Date 1380216646 -3600 # Node ID 744af76b732474bac95a9e42a85e6210fa73b1ce # Parent 34216cdffda6127960640f80eb510eae3fec8251 mod_auth_imap: Rename imap_service_realm to imap_auth_realm and inherit from sasl_realm, rename imap_service_name to imap_auth_service_name diff -r 34216cdffda6 -r 744af76b7324 mod_auth_imap/auth_imap/mod_auth_imap.lua --- a/mod_auth_imap/auth_imap/mod_auth_imap.lua Thu Sep 26 18:14:45 2013 +0100 +++ b/mod_auth_imap/auth_imap/mod_auth_imap.lua Thu Sep 26 18:30:46 2013 +0100 @@ -8,9 +8,8 @@ local imap_host = module:get_option_string("imap_auth_host", "localhost"); local imap_port = module:get_option_number("imap_auth_port"); - -local imap_service_realm = module:get_option("imap_service_realm"); -local imap_service_name = module:get_option("imap_service_name"); +local imap_service_realm = module:get_option_string("imap_auth_realm", module_get_option("sasl_realm")); +local imap_service_name = module:get_option_string("imap_auth_service_name"); local append_host = module:get_option_boolean("auth_append_host"); local verify_certificate = module:get_option_boolean("auth_imap_verify_certificate", true);