diff --git a/src/authentic2/forms/widgets.py b/src/authentic2/forms/widgets.py index 6aa0df71c..244c0ad91 100644 --- a/src/authentic2/forms/widgets.py +++ b/src/authentic2/forms/widgets.py @@ -296,7 +296,7 @@ class CheckPasswordInput(PasswordInput): _id = attrs.get('id') if _id and _id.endswith('2'): other_id = _id[:-1] + '1' - output += '''\n''' % ( + output += '''\n''' % ( json.dumps(other_id), json.dumps(_id), )