mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
* src/ejabberd_auth.erl: plugin authentication modules can now
be used in the configuration file: {auth_method, module} will now use the module ejabberd_auth_module.erl for authentication. (EJAB-45) SVN Revision: 501
This commit is contained in:
parent
0cc168a9aa
commit
2f0cf8bce8
@ -1,3 +1,9 @@
|
||||
2006-02-07 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/ejabberd_auth.erl: plugin authentication modules can now
|
||||
be used in the configuration file: {auth_method, module} will now
|
||||
use the module ejabberd_auth_module.erl for authentication.
|
||||
|
||||
2006-02-05 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/mod_muc/mod_muc_room.erl: Kick non-members when room
|
||||
|
@ -83,14 +83,6 @@ remove_user(User, Server, Password) ->
|
||||
|
||||
auth_module(Server) ->
|
||||
LServer = jlib:nameprep(Server),
|
||||
case ejabberd_config:get_local_option({auth_method, LServer}) of
|
||||
external ->
|
||||
ejabberd_auth_external;
|
||||
ldap ->
|
||||
ejabberd_auth_ldap;
|
||||
odbc ->
|
||||
ejabberd_auth_odbc;
|
||||
_ ->
|
||||
ejabberd_auth_internal
|
||||
end.
|
||||
Method = ejabberd_config:get_local_option({auth_method, LServer}),
|
||||
list_to_atom("ejabberd_auth_" ++ atom_to_list(Method)).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user