Regarding "extauth_cache", the guide says: "The integer 0 (zero) enables
caching for statistics, but doesn't use that cached information to
authenticate users." Make sure the cached password isn't used even if
the user is currently logged in with another resource.
try_register_extauth(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,
CacheTime) ->
case get_last_access(User, Server) of