mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Setting temporary flag to FALSE to make successfully created accounts permanent
This commit is contained in:
parent
fc2db73312
commit
abc917edaf
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user