Password not working after update /CRSF protection error

I updated to Seafile 12 this morning, and my password isn’t working anymore. I get a message

forbidden (403)

The CSRF verification has failed. The requesr has been stopped.

I have tried creating a new admin, from the command line, the new admin was created with a new password, but that combination does not work either.

The solution is to add to seahub_settings.py (as it is said in that post )

CSRF_TRUSTED_ORIGINS = ['https://example.ddns.net']

could it be because i chose https?

Stumbled upon this, but why CSRF_TRUSTED_ORIGINS is not updated directly from the value set in SEAFILE_SERVER_HOSTNAME, would makes much more sense