← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1412483] Re: Horizon UI behavior when browser cookies disabled

 

Reviewed:  https://review.openstack.org/534581
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=c9a143fab4127bc65927285c88bf496e0da37a24
Submitter: Zuul
Branch:    master

commit c9a143fab4127bc65927285c88bf496e0da37a24
Author: Ola Khalifa <ola.ahmed@xxxxxxxxxx>
Date:   Wed Jan 17 14:11:59 2018 +1300

    Horizon UI message when browser cookies disabled
    
    Used dijango's CSRF_FAILURE_VIEW setting to create
    a view indicating the reason the request was rejected.
    This information is passed on to the login page so it
    can render the error.
    
    Change-Id: I61c7195c9bafb269816fde12b058e19ebc69953c
    Closes-Bug: #1412483


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1412483

Title:
  Horizon UI behavior when browser cookies disabled

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Steps to reproduce:

  1) Disable cookies in browser settings.

  2) Navigate to Horizon.

  3) See login page.

  4) Fill username and password fields, then click "Sign In" button

  5)
  Actual: Forbidden (403) CSRF verification failed. Request aborted. (see screenshot)

  Expected: to see some neat message that cookies must be enabled for
  logging-in.

  Usually good services provide human-friendly warning for user. Examples:
  Google: "Oops! Your browser seems to have cookies disabled. Make sure cookies are enabled or try opening a new browser window."
  Microsoft: "Cookies must be allowed. Your browser is currently set to block cookies. Your browser must allow cookies before you can use a Microsoft account."

  Environment: 
  {"build_id": "2014-12-26_14-25-46", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "58", "auth_required": true, "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "81d38d6f2903b5a8b4bee79ca45a54b76c1361b8", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-12-26_14-25-46", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "58", "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "81d38d6f2903b5a8b4bee79ca45a54b76c1361b8", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "fde8ba5e11a1acaf819d402c645c731af450aff0"}}}, "fuellib_sha": "fde8ba5e11a1acaf819d402c645c731af450aff0"}

  Browsers: 
  Chrome: Version 39.0.2171.99 (64-bit) on Ubuntu 14.04
  Firefox: 35.0  on Ubuntu 14.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1412483/+subscriptions


References