reqeustToken/resetPassword
This commit is contained in:
parent
33351a024e
commit
80c0aad0d6
6 changed files with 92 additions and 43 deletions
|
|
@ -12,7 +12,7 @@ from django.conf import settings
|
|||
from ox.utils import json
|
||||
|
||||
class UserProfile(models.Model):
|
||||
recover_key = models.TextField()
|
||||
reset_token = models.TextField(blank=True, null=True, unique=True)
|
||||
user = models.ForeignKey(User, unique=True)
|
||||
|
||||
files_updated = models.DateTimeField(default=datetime.now)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue