Skip to content

Commit

Permalink
Merge pull request mozilla#1245 from johngian/1205664
Browse files Browse the repository at this point in the history
Fix login_failure regression
  • Loading branch information
johngian committed Sep 17, 2015
2 parents d81d6ce + d63c25f commit 771ba2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mozillians/common/authbackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ def login_success(self):
})
return super(BrowserIDVerify, self).login_success()

def login_failure(self, error=None):
def login_failure(self):
if self.add_email:
return JSONResponse({
'redirect': self.failure_url
})
return super(BrowserIDVerify, self).login_failure(error)
return super(BrowserIDVerify, self).login_failure()

def post(self, *args, **kwargs):
self.add_email = False
Expand Down

0 comments on commit 771ba2b

Please sign in to comment.