commit | ea3ce4b820842fe633aa5763983b9c4973be7eda | [log] [tgz] |
---|---|---|
author | Daria Yakovleva <[email protected]> | Wed Oct 11 19:51:59 2017 |
committer | Commit Bot <[email protected]> | Wed Oct 11 19:51:59 2017 |
tree | fde4f3db008000746f133436ce5886d98bb0ddc0 | |
parent | 25439ba842fb25bfa10d3384801e43307f137a68 [diff] |
Log out if user is not allowed after settings are changed 1. This is crucial for the OffHours policy implementation, as we need to sign out disallowed users when the OffHours mode switches off. 2. This change has a side effect of forcing sign-out when the session availability (for instance, the Guest mode being allowed via policy) changes to false during that same session. Logic is similar to function here: https://cs.chromium.org/chromium/src/chrome/browser/chromeos/login/existing_user_controller.cc?l=350&rcl=6fcdeac565292994e832db25b600331dfb030672 Bug: 739713 Change-Id: Ieac2e7f24a152f323b7abb4bf36242a9fef6edc2 Reviewed-on: https://chromium-review.googlesource.com/704662 Commit-Queue: Daria Iakovleva <[email protected]> Reviewed-by: Sergey Poromov <[email protected]> Reviewed-by: Maksim Ivanov <[email protected]> Reviewed-by: Xiyuan Xia <[email protected]> Cr-Commit-Position: refs/heads/master@{#508075}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .