This repository has been archived by the owner on May 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f60f27
commit 09deab8
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Changelog | ||
========= | ||
|
||
4.0.0 | ||
----- | ||
|
||
Added: | ||
|
||
- Added ``LoginCodeAdmin`` | ||
- Added rest support | ||
|
||
Breaking changes: | ||
|
||
- Remove support for Django < 1.11 | ||
- Add support for Django 2 | ||
- ``NoPasswordBackend.authenticate`` doesn't have side effects anymore, it only checks if a login code is valid. | ||
- ``NoPasswordBackend`` now uses the default django method ``user_can_authenticate`` instead of ``verify_user``. | ||
- Changed signature of ``NoPasswordBackend.send_login_code`` to ``send_login_code(code, context, **kwargs)``, to support custom template context. | ||
- ``EmailBackend`` doesn't attach a html message to the email by default. You can provide a template ``registration/login_email.html`` to do so. | ||
- Removed setting ``NOPASSWORD_LOGIN_EMAIL_SUBJECT`` in favor of template ``registration/login_subject.txt`` | ||
- Renamed form ``AuthenticationForm`` to ``LoginForm`` | ||
- ``LoginForm`` (previously ``AuthenticationForm``) doesn't have side effects anymore while cleaning. | ||
- ``LoginForm`` (previously ``AuthenticationForm``) doesn't check for cookie support anymore. | ||
- Removed methods ``get_user`` and ``get_user_id`` from ``LoginForm`` (previously ``AuthenticationForm``). | ||
- Removed method ``login_url`` and ``send_login_code`` from ``LoginCode`` (previously ``AuthenticationForm``). | ||
- Renamed template ``registration/login.html`` to ``registration/login_form.html``. | ||
- Changed content of default templates. | ||
- Removed views ``login_with_code_and_username``. | ||
- Refactored views to be class based views and to use forms instead of url parameters. | ||
- Changed url paths | ||
- Removed setting ``NOPASSWORD_POST_REDIRECT``, use ``NOPASSWORD_LOGIN_ON_GET`` instead. | ||
- Removed setting ``NOPASSWORD_NAMESPACE``. | ||
- Removed setting ``NOPASSWORD_HIDE_USERNAME``. | ||
- Removed setting ``NOPASSWORD_LOGIN_EMAIL_SUBJECT``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters