You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if user is not None and account_activation_token.check_token(user, token):
user.is_active = True
user.save()
login(request, user)
return redirect('account_activation_complete')
else:
return HttpResponseBadRequest('Activation link is invalid!')
First I want to say thanks so much for this documentation. I have been looking for something like this for a CustomUser.
First thing the email shows the HTML.
Hello ,
Please click the link below to activate your account:
Activate your account">
If you did not register on our site, please ignore this message.
Best regards,
Your Website Team
Second thing is that the link is invalid and trying to figure out where the issue is.
Thanks much.
The text was updated successfully, but these errors were encountered: