# HG changeset patch # User Matthew Wild # Date 1539090180 -3600 # Node ID 662f2722f74544ca63e024b42884507f2dc305c5 # Parent cb26d04b391ce084629760ddb597c4968618d558 mod_password_policy: Export function to get policy in use by the module diff -r cb26d04b391c -r 662f2722f745 mod_password_policy/mod_password_policy.lua --- a/mod_password_policy/mod_password_policy.lua Tue Oct 09 14:02:42 2018 +0100 +++ b/mod_password_policy/mod_password_policy.lua Tue Oct 09 14:03:00 2018 +0100 @@ -23,6 +23,10 @@ return true; end +function get_policy() + return options; +end + function handler(event) local origin, stanza = event.origin, event.stanza;