25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Add missing ejabberd_auth_jwt:user_exists/2 function (#3012)

This commit is contained in:
Alexey Shchepin 2019-09-09 00:57:55 +03:00
parent 21aa344ed5
commit 6d83cbd1a8

View File

@ -30,7 +30,8 @@
-behaviour(ejabberd_auth).
-export([start/1, stop/1, check_password/4,
store_type/1, plain_password_required/1
store_type/1, plain_password_required/1,
user_exists/2
]).
-include("xmpp.hrl").
@ -67,6 +68,8 @@ check_password(User, AuthzId, Server, Token) ->
end
end.
user_exists(_User, _Host) -> {nocache, false}.
%%%----------------------------------------------------------------------
%%% Internal functions
%%%----------------------------------------------------------------------