mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
fix bug 24909, don't display signons if database hasn't been unlocked, r=dp
This commit is contained in:
parent
d4ae10a7ac
commit
3c0769c16b
@ -2497,6 +2497,10 @@ SINGSIGN_SignonViewerReturn (nsAutoString results) {
|
||||
PUBLIC void
|
||||
SINGSIGN_GetSignonListForViewer(nsAutoString& aSignonList)
|
||||
{
|
||||
if (SI_LoadSignonData(PR_TRUE) != 0) {
|
||||
/* don't display saved signons if user couldn't unlock the database */
|
||||
return;
|
||||
}
|
||||
nsAutoString buffer = "";
|
||||
int signonNum = 0;
|
||||
si_SignonURLStruct *url;
|
||||
|
Loading…
x
Reference in New Issue
Block a user