mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
d5b7b3cc87
commit
17f17002d7
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user