Added extauth support for ejabberd
This commit is contained in:
parent
9cc2c06922
commit
856b42ad59
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue