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:
parent
21aa344ed5
commit
6d83cbd1a8
@ -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
|
||||
%%%----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user