Django allauth key reset just won't accept any password

I am customising the allauth template at:
templates/account/password_reset_from_key.html

For some inexplicable reasons, I cannot get past that page. I added the following to the template:

{% if form.errors %}
    {% for error in form.errors %}
         <div class="msg msg-box msg-alert">
             {{ error }}
         </div>
    {% endfor %}
{% endif %}

The above reveals that django is not happy with the new passwords. The strange part is that it is not happy with any password. Where do I start?

I’ve spotted the issue:

I had changed <input name="password1"> to <input name="password-reset">. I totally forgot that allauth works with the input name. That was stupid.

Now reverted