Konflikt resen
This commit is contained in:
@@ -17,13 +17,10 @@ def confirm_email(request, uuid):
|
||||
confirmation = get_object_or_404(EmailConfirmation, uuid=uuid)
|
||||
|
||||
if confirmation.is_expired():
|
||||
return render(request, 'confirmation_expired.html', {'email': confirmation.email})
|
||||
return render(request, 'accounts/confirmation_expired.html', {'email': confirmation.email})
|
||||
|
||||
task = create_document_for_organization.delay(confirmation.email)
|
||||
print(f"Task ID: {task.id}")
|
||||
|
||||
|
||||
return HttpResponse("Email is confirmed")
|
||||
return render(request, 'accounts/confirmation_success.html', {'email': confirmation.email})
|
||||
|
||||
def resend_confirmation(request,email):
|
||||
if request.method == 'POST':
|
||||
|
||||
Reference in New Issue
Block a user