mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Add missing ejabberd_auth_jwt:user_exists/2 function (#3012)
This commit is contained in:
parent
21aa344ed5
commit
6d83cbd1a8
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue