PeARSearch / PeARS-federated

This is the version of PeARS for use in a federated context: admins create PeARS instances that users can join to contribute to the index.
Other
17 stars 6 forks source link

Set session cookie to secure #52

Closed minimalparts closed 2 months ago

minimalparts commented 2 months ago

Set session cookie to secure=True, httponly=False, and samesite=Lax.

Cleaned up the config file. I am putting the CSRF stuff in init so that both init files (standard one and pythonanywhere one) follow the same format.

Minor fix in user-agent string: Chrome did not have a version number.