def user_logged_out(self, sender, request: AxesHttpRequest, user, **kwargs):  
<EOL>clean_expired_user_attempts(request.axes_attempt_time)<EOL>username = user.get_username()<EOL>client_str = get_client_str(username, request.axes_ip_address, request.axes_user_agent, request.axes_path_info)<EOL>log.info('<STR_LIT>', client_str)<EOL>if username and not settings.AXES_DISABLE_ACCESS_LOG:<EOL><INDENT>AccessLog.objects.filter(<EOL>username=username,<EOL>logout_time__isnull=True,<EOL>).update(<EOL>logout_time=request.axes_attempt_time,<EOL>)<EOL><DEDENT>
When user logs out, update the AccessLog related to the user.