From 121f69a5e24e4e7614e012f84647b5e2dc235906 Mon Sep 17 00:00:00 2001 From: Nicholas Funnell Date: Mon, 6 Apr 2020 20:13:48 -0700 Subject: [PATCH 1/2] use call not voice --- verify/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verify/auth.py b/verify/auth.py index f925d29..9e4d546 100644 --- a/verify/auth.py +++ b/verify/auth.py @@ -29,7 +29,7 @@ def wrapped_view(**kwargs): def start_verification(to, channel='sms'): - if channel not in ('sms', 'voice'): + if channel not in ('sms', 'call'): channel = 'sms' service = app.config.get("VERIFICATION_SID") From d48e87112d6e69cf9aeeb84ab85b25b9ffa07750 Mon Sep 17 00:00:00 2001 From: Nicholas Funnell Date: Mon, 6 Apr 2020 20:25:43 -0700 Subject: [PATCH 2/2] send it in the template too --- verify/templates/auth/register.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/verify/templates/auth/register.html b/verify/templates/auth/register.html index cab524e..8911cf7 100644 --- a/verify/templates/auth/register.html +++ b/verify/templates/auth/register.html @@ -1,14 +1,14 @@ -{% extends 'base.html' %} +{% extends 'base.html' %} {% block head %} {{ super() }} -{% endblock %} +{% endblock %} {% block header %}

{% block title %}Register{% endblock %}

-{% endblock %} +{% endblock %} {% block content %}
@@ -19,7 +19,7 @@

{% block title %}Register{% endblock %}

- +