Commit 9732695e authored by nimrod's avatar nimrod
Browse files

Fix for the lam-setpass script.

parent 4aafe066
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ $cfg->setPassword($argv[1]);
$cfg->save();

// For the server profiles.
$conf = new LAMConfig("lam");
$profile_manager = new ServerProfilePersistenceManager();
$conf = $profile_manager->loadProfile("lam");
$conf->set_Passwd($argv[1]);
$conf->save();
$profile_manager->saveProfile($conf, "lam");