forked from I2P_Developers/i2p.i2p
- Move MD5 functions to core util where i2ptunnel can use them
This commit is contained in:
@@ -70,8 +70,7 @@ public class ConfigUIHandler extends FormHandler {
|
||||
}
|
||||
ConsolePasswordManager mgr = new ConsolePasswordManager(_context);
|
||||
// rfc 2617
|
||||
pw = name + ':' + RouterConsoleRunner.JETTY_REALM + ':' + pw;
|
||||
if (mgr.saveMD5(RouterConsoleRunner.PROP_CONSOLE_PW, name, pw)) {
|
||||
if (mgr.saveMD5(RouterConsoleRunner.PROP_CONSOLE_PW, RouterConsoleRunner.JETTY_REALM, name, pw)) {
|
||||
addFormNotice(_("Added user {0}", name));
|
||||
addFormNotice(_("Restart required to take effect"));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user