diff --git a/mozillians/common/authbackend.py b/mozillians/common/authbackend.py index aa83e6451..a43cecc32 100644 --- a/mozillians/common/authbackend.py +++ b/mozillians/common/authbackend.py @@ -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