Handle the case when authenticate() returns None

Bug #1436041 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-openstack-auth
New
Undecided
Unassigned

Bug Description

When authenticate() returns None, Horizon gets unexpected error of :'AnonymousUser' object has no attribute 'backend'

None is a valid return for authenticate() if the user cannot be validated based on: https://docs.djangoproject.com/en/1.7/topics/auth/customizing/#writing-an-authentication-backend

We should fix the handling in forms so that Horizon can handle the case when None is returned

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.