Added extauth support for ejabberd

This commit is contained in:
Ossi Salmi 2011-06-01 12:45:39 +03:00 committed by Timo Mkinen
parent 9cc2c06922
commit 856b42ad59

View file

@ -249,7 +249,12 @@ override_acls.
%% If you want to use a different method, %% If you want to use a different method,
%% comment this line and enable the correct ones. %% comment this line and enable the correct ones.
%% %%
<% if ejabberd_extauth -%>
{auth_method, external}.
{extauth_program, "<%= ejabberd_extauth %>"}.
<% else -%>
{auth_method, internal}. {auth_method, internal}.
<% end -%>
%% %%
%% Authentication using external script %% Authentication using external script