Skip to content
Snippets Groups Projects
Commit 9732695e authored by nimrod's avatar nimrod
Browse files

Fix for the lam-setpass script.

parent 4aafe066
No related branches found
No related tags found
No related merge requests found
Pipeline #3009 passed
...@@ -9,6 +9,7 @@ $cfg->setPassword($argv[1]); ...@@ -9,6 +9,7 @@ $cfg->setPassword($argv[1]);
$cfg->save(); $cfg->save();
// For the server profiles. // For the server profiles.
$conf = new LAMConfig("lam"); $profile_manager = new ServerProfilePersistenceManager();
$conf = $profile_manager->loadProfile("lam");
$conf->set_Passwd($argv[1]); $conf->set_Passwd($argv[1]);
$conf->save(); $profile_manager->saveProfile($conf, "lam");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment