Merge branch 'release/v16.7.13'
This commit is contained in:
@@ -855,14 +855,14 @@ def rower_register_view(request):
|
|||||||
d = {
|
d = {
|
||||||
'user': theuser,
|
'user': theuser,
|
||||||
'domain': current_site.domain,
|
'domain': current_site.domain,
|
||||||
'uid': urlsafe_base64_encode(force_bytes(theuser.id)).decode(),
|
'uid': urlsafe_base64_encode(force_bytes(theuser.id)),
|
||||||
'token': account_activation_token.make_token(theuser),
|
'token': account_activation_token.make_token(theuser),
|
||||||
}
|
}
|
||||||
to_email = form.cleaned_data.get('email')
|
to_email = form.cleaned_data.get('email')
|
||||||
message = render_to_string('acc_activate_email.html', {
|
message = render_to_string('acc_activate_email.html', {
|
||||||
'user': theuser,
|
'user': theuser,
|
||||||
'domain': current_site.domain,
|
'domain': current_site.domain,
|
||||||
'uid': urlsafe_base64_encode(force_bytes(theuser.id)).decode(),
|
'uid': urlsafe_base64_encode(force_bytes(theuser.id)),
|
||||||
'token': account_activation_token.make_token(theuser),
|
'token': account_activation_token.make_token(theuser),
|
||||||
})
|
})
|
||||||
to_email = form.cleaned_data.get('email')
|
to_email = form.cleaned_data.get('email')
|
||||||
|
|||||||
Reference in New Issue
Block a user