ejabberd: Add support for external authentication cache
This commit is contained in:
parent
eb5485bf41
commit
7b81b76ed2
2 changed files with 9 additions and 0 deletions
|
@ -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 -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue