Skip to content

Commit

Permalink
allauth: don't break if data kwarg is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
julen committed Dec 16, 2019
1 parent 80fc165 commit 9a83be4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pootle/apps/accounts/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ class PootleAccountAdapter(DefaultAccountAdapter):
- form_errors is renamed to errors
"""

def ajax_response(self, request, response, redirect_to=None, form=None):
def ajax_response(
self, request, response, redirect_to=None, form=None, data=None,
**kwargs
):
data = {}
if redirect_to:
status = 200
Expand Down

0 comments on commit 9a83be4

Please sign in to comment.