From 31c23ef2b076c328429d70581f2d9d4335cdc040 Mon Sep 17 00:00:00 2001 From: Lauryn Brown Date: Fri, 5 Jan 2018 17:13:05 -0800 Subject: [PATCH 1/2] Added a resend code link to sms 2fa page --- src/sentry/templates/sentry/twofactor.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sentry/templates/sentry/twofactor.html b/src/sentry/templates/sentry/twofactor.html index 9088dd8229ece7..fb126c25a52398 100644 --- a/src/sentry/templates/sentry/twofactor.html +++ b/src/sentry/templates/sentry/twofactor.html @@ -29,6 +29,9 @@

Two-Factor Authentication

{% for field in form %} {{ field|as_crispy_field }} {% endfor %} + {% if interface.interface_id == "sms" %} + Resend Code + {% endif %} {% endblock %} {% block twofactor_submit %} From d74967db8bdd98e6af3353bb6a3f51dbbb25d57b Mon Sep 17 00:00:00 2001 From: Lauryn Brown Date: Mon, 8 Jan 2018 11:19:57 -0800 Subject: [PATCH 2/2] removed in-line js --- src/sentry/templates/sentry/twofactor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry/templates/sentry/twofactor.html b/src/sentry/templates/sentry/twofactor.html index fb126c25a52398..6b79e5deb27747 100644 --- a/src/sentry/templates/sentry/twofactor.html +++ b/src/sentry/templates/sentry/twofactor.html @@ -30,7 +30,7 @@

Two-Factor Authentication

{{ field|as_crispy_field }} {% endfor %} {% if interface.interface_id == "sms" %} - Resend Code + Resend Code {% endif %} {% endblock %}