Setting temporary flag to FALSE to make successfully created accounts permanent

This commit is contained in:
racham%netscape.com 1998-10-09 06:44:08 +00:00
parent fc2db73312
commit abc917edaf

View File

@ -152,6 +152,15 @@ native_netscape_npasw_SetupPlugin_SECURE_0005fSetCurrentProfileName(JRIEnv* env,
else
{
trace("profile.cpp : SetCurrentProfileName : Current User profile is set to = %s", newProfileName);
if (PREF_ERROR == PREF_SetDefaultBoolPref("profile.temporary", FALSE))
{
trace("profile.cpp : SetCurrentProfileName : Error in setting Temporary flag to false.");
}
else
{
trace("profile.cpp : SetCurrentProfileName : Made the profile to be permanent.");
}
}
}