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") 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 %}

- +