Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(backend): force token expire (#969)
* chore(token): token always expires Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> * chore(migrations): alter bearer token expires at Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> * chore(changelog): update changelog Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> * chore(backend/users/migrations): alter bearertoken expires only if null Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> * fix(users/migrations): chain AlterField migration operation Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> * tests(views/test_views_token): add expiring date and test case Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> * chore(users/migrations): field to models.DateTimeField() Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> * chore(users/models/token): blank=False instead of default value Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> * tests(test_views_token): add test cases Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> --------- Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com>
- Loading branch information