diff options
Diffstat (limited to 'chromium/chrome/browser/ui/webui/signin/signin_utils_desktop.cc')
-rw-r--r-- | chromium/chrome/browser/ui/webui/signin/signin_utils_desktop.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/chrome/browser/ui/webui/signin/signin_utils_desktop.cc b/chromium/chrome/browser/ui/webui/signin/signin_utils_desktop.cc index 80d414cc9a3..9352d9826af 100644 --- a/chromium/chrome/browser/ui/webui/signin/signin_utils_desktop.cc +++ b/chromium/chrome/browser/ui/webui/signin/signin_utils_desktop.cc @@ -85,6 +85,9 @@ bool CanOfferSignin(Profile* profile, .GetAllProfilesAttributes(); for (const ProfileAttributesEntry* entry : entries) { + if (!entry->IsAuthenticated()) + continue; + // For backward compatibility, need to check also the username of the // profile, since the GAIA ID may not have been set yet in the // ProfileAttributesStorage. It will be set once the profile |