##// END OF EJS Templates
auth: fix regression on cache manage namespace generation in case of external plugins a new users.
ergo -
r2626:8c63a904 default
parent child Browse files
Show More
@@ -653,7 +653,7 b' def authenticate(username, password, env'
653
653
654 # get instance of cache manager configured for a namespace
654 # get instance of cache manager configured for a namespace
655 cache_manager = get_auth_cache_manager(
655 cache_manager = get_auth_cache_manager(
656 custom_ttl=cache_ttl, suffix=user.user_id)
656 custom_ttl=cache_ttl, suffix=user.user_id if user else '')
657
657
658 log.debug('AUTH_CACHE_TTL for plugin `%s` active: %s (TTL: %s)',
658 log.debug('AUTH_CACHE_TTL for plugin `%s` active: %s (TTL: %s)',
659 plugin.get_id(), plugin_cache_active, cache_ttl)
659 plugin.get_id(), plugin_cache_active, cache_ttl)
General Comments 0
You need to be logged in to leave comments. Login now