summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/Metadata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py
index e70c7629c..3d5e7cbe2 100644
--- a/src/lib/Server/Plugins/Metadata.py
+++ b/src/lib/Server/Plugins/Metadata.py
@@ -346,9 +346,9 @@ class Metadata(Bcfg2.Server.Plugin.Plugin):
if password != self.password:
self.logger.error("Client %s used incorrect password" % (address[0]))
return False
+ return True
if self.passwords[client] != password:
- self.logger.error("Client %s used incorrect password for UUID %s" % \
- (address[0], user))
+ self.logger.error("Client %s used incorrect password" % (address[0]))
return False
# populate the session cache
if user != 'root':