mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Merge pull request #217 from weiss/fix-extauth-cache-usage
Don't use cached passwords if "extauth_cache: 0"
This commit is contained in:
commit
69abb48c90
@ -186,6 +186,8 @@ check_password_extauth(User, Server, Password) ->
|
|||||||
try_register_extauth(User, Server, Password) ->
|
try_register_extauth(User, Server, Password) ->
|
||||||
extauth:try_register(User, Server, Password).
|
extauth:try_register(User, Server, Password).
|
||||||
|
|
||||||
|
check_password_cache(User, Server, Password, 0) ->
|
||||||
|
check_password_external_cache(User, Server, Password);
|
||||||
check_password_cache(User, Server, Password,
|
check_password_cache(User, Server, Password,
|
||||||
CacheTime) ->
|
CacheTime) ->
|
||||||
case get_last_access(User, Server) of
|
case get_last_access(User, Server) of
|
||||||
|
Loading…
Reference in New Issue
Block a user