Add user generate reset password token

This commit is contained in:
ibuler
2016-08-31 19:28:06 +08:00
parent 5350f83275
commit b31f8d5867
6 changed files with 94 additions and 12 deletions

View File

@@ -8,6 +8,7 @@ from paramiko.rsakey import RSAKey
from django.contrib.auth.mixins import UserPassesTestMixin
from django.urls import reverse_lazy
try:
import cStringIO as StringIO
except ImportError: