(request, user_id)
return render(request, 'user_management/activation-email.html', {"email": target_user.email})
Sends a user another account activation email.
Sends a user another account activation email.
Sends a user another account activation email .
def resend_activation(request, user_id):
    """
    Sends a user another account activation email.
    """
    target_user = get_object_or_404(LinkUser, id=user_id)
    if not request.user.shares_scope_with_user(target_user):
        raise PermissionDenied
    email_new_user(request, target_user)
    return render(request, 'user_management/activation-email.html', {"email": target_user.email})
def resend_activation ( request , user_id ) : target_user = get_object_or_404 ( LinkUser , id = user_id ) if not request . user . shares_scope_with_user ( target_user ) : raise PermissionDenied email_new_user ( request , target_user ) return render ( request , 'user_management/activation-email.html' , { "email" : target_user . email } )