Force online sign-in after fatal policy init error
Store the online sign-in enforcement flag before terminating the
browser when a fatal policy initialization error happens.
This should fix the inability to sign into existing managed profiles
in the case when the policy files got corrupted. In such case the
user session is immediately terminated, because there's currently no
mechanism to fetch the missing policy without going through an
online sign-in flow. The problem was that the next sign-in attempts are
likely to go through the same steps and fail again.
This CL addresses this by enforcing the online authentication for the
next sign-in attempt of that user.
BUG=chromium:830654
TEST=Manual: delete user policy files from existing profile, try to
sign in - the session should immediately terminate, then try to
sign in again - the online sign-in should take place, and the
session should start.
Change-Id: I1ff4c555999b4063a118c751598ecb0515839b3c
Reviewed-on: https://chromium-review.googlesource.com/1000867Reviewed-by:
Pavol Marko <pmarko@chromium.org>
Reviewed-by:
Drew Wilson <atwilson@chromium.org>
Commit-Queue: Maksim Ivanov <emaxx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550154}
Showing
Please register or sign in to comment