diff --git a/shiftregister/app/views.py b/shiftregister/app/views.py index 186f72d..ee1e11a 100644 --- a/shiftregister/app/views.py +++ b/shiftregister/app/views.py @@ -108,7 +108,6 @@ def register(request): helper = Helper.objects.filter(phone=form.cleaned_data["phone"]).first() if helper: token = helper.logintoken_set.first() - # todo: resend login link after x minutes? messages.add_message( request, messages.INFO, @@ -125,7 +124,7 @@ def register(request): - datetime.timedelta(minutes=math.pow(10, token.send_count)) ): token.send() - return render(request, "register.html", context) + return render(request, "wait_confirmation.html", context) helper = Helper( name=form.cleaned_data["name"], phone=form.cleaned_data["phone"]