Login twice after 'service apache2 restart'

Bug #1703340 reported by Vladislav Kuzmin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Undecided
Unassigned

Bug Description

After restart Apache/Horizon I need to login twice.

Step to reproduce:
1. Go to login page
2. sudo service apache2 restart
3. Log in as admin. After that, you will be redirected back to the login page
4. You need type login and password one more time

Expected behaviour:
After restart I should type login and password only one time

affects: django-openstack-auth → horizon
Revision history for this message
Alex Kholkin (akholkin) wrote :

can not reproduce this bug

Changed in horizon:
status: New → Invalid
Ivan Kolodyazhny (e0ne)
Changed in horizon:
status: Invalid → Confirmed
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

If I understand it correct, it's how Django's CSRF works. After Apache has been restarted, old CSRF token became invalid so we need to reload the page to get logged-in.

Revision history for this message
Akihiro Motoki (amotoki) wrote :

I believe this has been fixed as part of a fix for bug 1764622.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.