﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32030	Make Token Generator more universal	Ilya Chichak	nobody	"I suggest to split current `PasswordResetTokenGenerator` into `BaseTokenGenerator` and it's implementation `PasswordResetTokenGenerator`

To make `BaseTokenGenerator` more universal, it should contain class variable `TOKEN_TIMEOUT` with token timeout and `_make_hash_value` method public and abstract.

It will make possible to make email confirmation tokens, one time enter tokens and other with reimplementing `make_hash_value` method and setting separate timeout for each token generator. Current `PasswordResetTokenGenerator` will be implementation of `BaseTokenGenerator` where `TOKEN_TIMEOUT` will be `settings.PASSWORD_RESET_TIMEOUT`. So, for all logic, that uses `PasswordResetTokenGenerator` nothing will be changed."	New feature	new	contrib.auth	3.1	Normal				Unreviewed	0	0	0	0	0	0
