ARUP-CAS / aiscr-webamcr

Archaeological Map of the Czech Republic (AMCR)
https://amcr-info.aiscr.cz/
GNU General Public License v3.0
5 stars 0 forks source link

Nefunkční registrace #2620

Closed motyc closed 1 week ago

motyc commented 1 week ago

Již samotný vstup na https://amcr-test.aiscr.cz/accounts/register/ vyhodí 500.

Kromě opravy prosím o rychlé doplnění automatické testu.

EDIT: asi to bude souviset spíše s: https://github.com/ARUP-CAS/aiscr-webamcr/pull/2586

motyc commented 1 week ago

Problém vyvolala tato změna v Django: https://github.com/ubernostrum/django-registration/commit/90ba1d8575ddbcbe80219e70d7446d4061790887

A tato změna:

ActivationView has also been rewritten, and with it parts of the built-in activation-based workflow. The primary change here is that ActivationView now only attempts to activate the user account on an HTTP POST request (previously it would do so on GET, which was increasingly unsafe due to email clients auto-following links). This is backwards-incompatible: the activation view now displays a form on GET, and the templates involved have changed. See the template documentation for details of the required templates.