Pas.plugins.headers

Latest version: v1.5.0

Safety actively analyzes 623165 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.5.1

------------------

- Nothing changed yet.

1.5.0

------------------

- Add support for being a Credentials Reset plugin.
This part is called when a user logs out.
[maurits]

1.4.0

------------------

- Added option ``default_roles``.
These roles are given when a user is successfully authenticated by this plugin.
You always automatically get the Authenticated role.
But you may want to give everyone the Member role.
This is not checked against the allowed roles.
[maurits]

1.3.2

------------------

- Add tox.ini, use GitHub Actions, test with Plone 4.3, 5.1, 5.2, 6.0.
[maurits]

1.3.1

------------------

- Python 3: when ``redirect_url`` unexpectedly is bytes, turn it into native string before comparing.
[maurits]

- Fixed problem with ``redirect_url`` not starting with a slash.
With ``headerlogin`` as value we would redirect to http://localhost:8080/Ploneheaderlogin.
[maurits]

1.3.0

------------------

- We require ``six>=1.12.0`` because we use ``ensure_str``.
Note that Plone 4.3 and 5.1 currently pin older versions.
[maurits]

- Fixed NotFound error when redirect_url started with a slash, for example ``/headerlogin``.
In local development it would redirect to /headerlogin on the Zope root, where it does not exist.
We now always treat the redirect_url as relative to the Plone site root, unless it is a full url.
[maurits]

- Fixed exportimport to always set native strings.
On Python 3 we were setting bytes, which was wrong.
Fixed same problem in member properties.
[maurits]

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.