We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b828621 commit 11b08f2Copy full SHA for 11b08f2
chrome/browser/chromeos/login/quick_unlock/pin_backend.cc
@@ -226,7 +226,7 @@ bool PinBackend::ShouldUseCryptohome(const AccountId& account_id) {
226
// the prefs backend from a previous version. If that's the case, we should
227
// talk to the prefs backend instead of the cryptohome backend.
228
QuickUnlockStorage* storage = GetPrefsBackend(account_id);
229
- return !storage->pin_storage_prefs()->IsPinSet();
+ return !storage || !storage->pin_storage_prefs()->IsPinSet();
230
}
231
232
} // namespace quick_unlock
0 commit comments