diff options
Diffstat (limited to 'src/ejabberd_auth_external.erl')
-rw-r--r-- | src/ejabberd_auth_external.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ejabberd_auth_external.erl b/src/ejabberd_auth_external.erl index 333543b0b..4ba76cd99 100644 --- a/src/ejabberd_auth_external.erl +++ b/src/ejabberd_auth_external.erl @@ -31,7 +31,7 @@ -behaviour(ejabberd_auth). --export([start/1, set_password/3, check_password/4, +-export([start/1, stop/1, set_password/3, check_password/4, check_password/6, try_register/3, dirty_get_registered_users/0, get_vh_registered_users/1, get_vh_registered_users/2, @@ -58,6 +58,10 @@ start(Host) -> check_cache_last_options(Host), ejabberd_auth_mnesia:start(Host). +stop(Host) -> + extauth:stop(Host), + ejabberd_auth_mnesia:stop(Host). + check_cache_last_options(Server) -> case get_cache_option(Server) of false -> no_cache; |