diff options
Diffstat (limited to 'src/lib/Server/Plugins')
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index 05746f22d..c03e09508 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -686,8 +686,9 @@ class Metadata(Bcfg2.Server.Plugin.Plugin, self.logger.error("Client %s failed to use client password in secure mode" % \ (address[0])) return False - # populate the session cache - if user != 'root': + + if id_method != 'address': + # populate the session cache self.session_cache[address] = (time.time(), user) return True |