From 2c60ff14bb275580aa94119e898b7df7ae023356 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Wed, 25 Oct 2023 13:59:02 +0200 Subject: [PATCH] fixed default pw comparison --- source/net/yacy/htroot/ConfigBasic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/htroot/ConfigBasic.java b/source/net/yacy/htroot/ConfigBasic.java index c61a8533f..5751e4c0b 100644 --- a/source/net/yacy/htroot/ConfigBasic.java +++ b/source/net/yacy/htroot/ConfigBasic.java @@ -192,7 +192,7 @@ public class ConfigBasic { // set a warning in case that the default password was not changed String currpw = sb.getConfig(SwitchboardConstants.ADMIN_ACCOUNT_B64MD5, ""); - String dfltpw = sb.getConfig(SwitchboardConstants.ADMIN_ACCOUNT_B64MD5_DEFAULT, ""); + String dfltpw = SwitchboardConstants.ADMIN_ACCOUNT_B64MD5_DEFAULT; prop.put("changedfltpw", currpw.equals(dfltpw) ? "1" : "0"); // set a use case