|
@@ -329,6 +329,7 @@ if (isset($userData['ssh_authorized_keys'])) {
|
|
|
$config['system']['user'][0]['authorizedkeys'] = base64_encode("$sshKeys");
|
|
$config['system']['user'][0]['authorizedkeys'] = base64_encode("$sshKeys");
|
|
|
}
|
|
}
|
|
|
$config['system']['hostname'] = $userData['hostname'];
|
|
$config['system']['hostname'] = $userData['hostname'];
|
|
|
|
|
+$config['system']['user'][0]['name'] = $userData['user'];
|
|
|
$config['system']['user'][0]['bcrypt-hash'] = $userData['password'];
|
|
$config['system']['user'][0]['bcrypt-hash'] = $userData['password'];
|
|
|
// write the configuration
|
|
// write the configuration
|
|
|
write_config();
|
|
write_config();
|