When resetting the password from the console, reset the username to "admin".

Needless to say I waisted way more time than I should have finding this issue.
This commit is contained in:
Scott Ullrich 2006-04-19 17:24:55 +00:00
parent d5b7b3cc87
commit 17f17002d7

View File

@ -44,7 +44,8 @@ Do you want to proceed [y|n]?
EOD;
if (strcasecmp(chop(fgets($fp)), "y") == 0) {
$config['system']['username'] = "admin";
$config['system']['password'] = crypt("pfsense");
write_config("password changed from console menu");