Commit ffbbd11e authored by Ad Schellevis's avatar Ad Schellevis

(legacy) repair reset root password

parent 9a22c04f
...@@ -72,7 +72,7 @@ if (strcasecmp(chop(fgets($fp)), 'y') == 0) { ...@@ -72,7 +72,7 @@ if (strcasecmp(chop(fgets($fp)), 'y') == 0) {
local_user_set_password($admin_user, $g['factory_shipped_password']); local_user_set_password($admin_user, $g['factory_shipped_password']);
local_user_set($admin_user); local_user_set($admin_user);
write_config($config, gettext("password changed from console menu")); write_config(gettext("password changed from console menu"));
printf("\n\n"); printf("\n\n");
printf(gettext("The password has been reset.")); printf(gettext("The password has been reset."));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment