I don't think the description of context  is correct?
```
context = {
    'email': user.email,
    'domain': domain,
    'site_name': site_name,
    'uid': urlsafe_base64_encode(force_bytes(user.pk)),
    'user': user,
    'token': token_generator.make_token(user),
    'protocol': 'https' if use_https else 'http',
}
```