Show More
@@ -743,7 +743,7 b' def authenticate(username, password, env' | |||
|
743 | 743 | log.debug('AUTH_CACHE_TTL for plugin `%s` active: %s (TTL: %s)', |
|
744 | 744 | plugin.get_id(), plugin_cache_active, cache_ttl) |
|
745 | 745 | |
|
746 |
user_id = user.user_id if user else |
|
|
746 | user_id = user.user_id if user else 'no-user' | |
|
747 | 747 | # don't cache for empty users |
|
748 | 748 | plugin_cache_active = plugin_cache_active and user_id |
|
749 | 749 | cache_namespace_uid = 'cache_user_auth.{}'.format(user_id) |
General Comments 0
You need to be logged in to leave comments.
Login now