Charlie Wang b84d38e7fb Properly handle Windows Hello errors
The KeyCredentialManager::RequestCreateAsync call can fail because we can end up in a situation where Windows Hello is initially available but then becomes unavailable, such as during a remote desktop session. This commit prevents a crash by moving the call into the try-catch.

Fixes #7890

Also resets quick unlock if there is an unrecoverable error. This will not occur if the user merely canceled the Windows Hello dialog.
2023-02-14 22:33:42 -08:00
..
2021-09-28 15:50:27 +02:00
2022-03-21 00:26:07 +01:00
2022-04-05 23:12:34 -04:00
2022-03-21 23:54:17 +01:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-03-21 23:54:17 +01:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-03-21 23:54:17 +01:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00
2022-04-05 23:12:34 -04:00