def user_logged_in(self, sender, request: AxesHttpRequest, user, **kwargs):  
username = user.get_username()<EOL>credentials = get_credentials(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 settings.AXES_RESET_ON_SUCCESS:<EOL><INDENT>cache_key = get_client_cache_key(request, credentials)<EOL>failures_since_start = self.cache.get(cache_key, default=<NUM_LIT:0>)<EOL>self.cache.delete(cache_key)<EOL>log.info('<STR_LIT>', failures_since_start, client_str)<EOL><DEDENT>
When user logs in, update the AccessLog related to the user.