diff --git a/app/main/views/index.py b/app/main/views/index.py index 944650e57..13effe361 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -21,7 +21,7 @@ from app.main.views.sub_navigation_dictionaries import ( pricing_nav, using_notify_nav, ) -from app.utils import get_logo_cdn_domain, user_is_logged_in +from app.utils import get_logo_cdn_domain @main.route('/') @@ -54,12 +54,6 @@ def error(status_code): abort(status_code) -@main.route("/verify-mobile") -@user_is_logged_in -def verify_mobile(): - return render_template('views/verify-mobile.html') - - @main.route('/cookies') def cookies(): return render_template('views/cookies.html') diff --git a/app/navigation.py b/app/navigation.py index 20f724266..e85cb9b0f 100644 --- a/app/navigation.py +++ b/app/navigation.py @@ -118,7 +118,6 @@ class HeaderNavigation(Navigation): 'two_factor_email_sent', 'verify', 'verify_email', - 'verify_mobile', }, } @@ -634,7 +633,6 @@ class MainNavigation(Navigation): 'using_notify', 'verify', 'verify_email', - 'verify_mobile', 'view_job_csv', 'view_job_updates', 'view_letter_notification_as_preview', @@ -926,7 +924,6 @@ class CaseworkNavigation(Navigation): 'using_notify', 'verify', 'verify_email', - 'verify_mobile', 'view_job_csv', 'view_job_updates', 'view_letter_notification_as_preview', @@ -1219,7 +1216,6 @@ class OrgNavigation(Navigation): 'using_notify', 'verify', 'verify_email', - 'verify_mobile', 'view_job', 'view_job_csv', 'view_job_updates', diff --git a/app/templates/views/text-not-received-2.html b/app/templates/views/text-not-received-2.html deleted file mode 100644 index 916a9d35e..000000000 --- a/app/templates/views/text-not-received-2.html +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "withoutnav_template.html" %} - -{% block per_page_title %} -Check your mobile number -{% endblock %} - -{% block maincolumn_content %} - - - -
-
-

Check your mobile number

- -

Check your mobile phone number is correct and then resend the security code.

- -

- - -

- - -

- Resend security code -

-
-
- -{% endblock %} diff --git a/app/templates/views/verify-mobile.html b/app/templates/views/verify-mobile.html deleted file mode 100644 index 110e8b33c..000000000 --- a/app/templates/views/verify-mobile.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "withoutnav_template.html" %} - -{% block per_page_title %} -Confirm your mobile number -{% endblock %} - -{% block maincolumn_content %} - -
-
-

Confirm your mobile number

- -

We’ve sent you a security code by text message.

- -

-

- -

- Continue -

-
-
- -{% endblock %}