Fix email validation, turbolinks link
This commit is contained in:
parent
a83ab4bf85
commit
eb39aff1ab
3 changed files with 3 additions and 3 deletions
|
|
@ -137,7 +137,7 @@ class Profile(models.Model):
|
|||
'user': self.user,
|
||||
'domain': os.getenv("NOTE_URL", "note.example.com"),
|
||||
'token': email_validation_token.make_token(self.user),
|
||||
'uid': urlsafe_base64_encode(force_bytes(self.user.pk)).decode('UTF-8'),
|
||||
'uid': urlsafe_base64_encode(force_bytes(self.user.pk)),
|
||||
})
|
||||
self.user.email_user(subject, message)
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 1090fe0b26928c0ee2205cfbebae0605dde3f370
|
||||
Subproject commit f0aa426950b9b867bf99233795e260871be2cb99
|
||||
Loading…
Add table
Add a link
Reference in a new issue