Skip to content

Commit

Permalink
Removing Voms Login.
Browse files Browse the repository at this point in the history
  • Loading branch information
fgan1 committed Nov 11, 2014
1 parent 3b3f7fe commit ca376da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions openstack_dashboard/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ def doRequest(method, endpoint, additionalHeaders, request):
except Exception:
messages.error(request, _('Problem communicating with the Manager.'))

print responseStr

if 'Unauthorized' in responseStr or 'Authentication required.' in responseStr:
messages.error(request, _('Token Unauthorized.'))
elif 'Bad Request' in responseStr:
Expand Down
2 changes: 1 addition & 1 deletion openstack_dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def fogbow_Login(request, template_name=None, extra_context=None, **kwargs):

def getContextForm(formOption):
listForm = {IPConstants.AUTH_TOKEN, IPConstants.AUTH_OPENNEBULA,
IPConstants.AUTH_VOMS, IPConstants.AUTH_KEYSTONE}
IPConstants.AUTH_KEYSTONE}

formChosen = IPConstants.AUTH_KEYSTONE
form = KeystoneFogbow()
Expand Down

0 comments on commit ca376da

Please sign in to comment.