ejabberd: Add support for external authentication cache

This commit is contained in:
Ossi Salmi 2016-01-02 01:13:40 +02:00
parent eb5485bf41
commit 7b81b76ed2
2 changed files with 9 additions and 0 deletions

View file

@ -82,6 +82,10 @@ auth_method:
auth_method: <%= @auth %>
<% end -%>
<% if @extauth -%>
<% unless @extauth_cache == false or (@auth.is_a?(Array) and @auth.include?('internal') or @auth == 'internal') -%>
auth_password_format: scram
extauth_cache: <%= @extauth_cache %>
<% end -%>
extauth_program: "<%= @extauth %>"
<% end -%>
<% if @ldap_server -%>