mirror of
https://github.com/yacy/yacy_search_server.git
synced 2026-10-25 05:54:15 +00:00
*) fixed admin password configuration
This commit is contained in:
1 parent
e23a596c1d
commit
6fc4bdddbd
1 file changed
+3
-3
+3
-3
@@ -121,8 +121,8 @@ change_admin_password()
|
||||
echo 'Entries did not match, please try again.'
|
||||
change_admin_password
|
||||
else
|
||||
BASE64=`$JAVA -classpath lib/yacycore.jar net.yacy.kelondro.order.Base64Order -es "$USERNAME:$INPUT1"`
|
||||
B64MD5=`$JAVA -classpath lib/yacycore.jar net.yacy.kelondro.order.Digest -strfhex "$BASE64"`
|
||||
BASE64=`$JAVA -classpath lib/yacycore.jar net.yacy.cora.order.Base64Order -es "$USERNAME:$INPUT1"`
|
||||
B64MD5=`$JAVA -classpath lib/yacycore.jar net.yacy.cora.order.Digest -strfhex "$BASE64"`
|
||||
B64MD5=`echo $B64MD5 | sed "s/\(\S\) .*/\1/"`
|
||||
replace_parameter 'adminAccountBase64MD5' "$B64MD5"
|
||||
fi
|
||||
@@ -305,4 +305,4 @@ do
|
||||
print_menu
|
||||
done
|
||||
|
||||
#EOF
|
||||
#EOF
|
||||
Reference in new issue
Block a user