From ad94850e0916346af8cdb72c77f4ef7889d6ee95 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 16 Oct 2013 17:49:38 -0500 Subject: security code cleanup --- .../new_security/forgot_password_step2.html | 11 +--- .../wqflask/templates/new_security/registered.html | 13 +--- .../wqflask/templates/new_security/thank_you.html | 18 ++---- .../wqflask/templates/new_security/verified.html | 32 --------- wqflask/wqflask/templates/security/_macros.html | 39 ----------- wqflask/wqflask/templates/security/_menu.html | 15 ----- wqflask/wqflask/templates/security/_messages.html | 9 --- wqflask/wqflask/templates/security/_scripts.html | 3 - .../templates/security/change_password.html | 11 ---- .../templates/security/email/change_notice.html | 4 -- .../templates/security/email/change_notice.txt | 5 -- .../security/email/confirmation_instructions.html | 5 -- .../security/email/confirmation_instructions.txt | 5 -- .../security/email/login_instructions.html | 5 -- .../security/email/login_instructions.txt | 5 -- .../security/email/reset_instructions.html | 1 - .../security/email/reset_instructions.txt | 3 - .../templates/security/email/reset_notice.html | 1 - .../templates/security/email/reset_notice.txt | 1 - .../wqflask/templates/security/email/welcome.html | 9 --- .../wqflask/templates/security/email/welcome.txt | 9 --- .../templates/security/forgot_password.html | 9 --- wqflask/wqflask/templates/security/login_user.html | 72 --------------------- .../wqflask/templates/security/register_user.html | 75 ---------------------- .../wqflask/templates/security/reset_password.html | 15 ----- .../templates/security/send_confirmation.html | 34 ---------- wqflask/wqflask/templates/security/send_login.html | 9 --- wqflask/wqflask/templates/security/thank_you.html | 8 --- wqflask/wqflask/user_manager.py | 37 ++++------- 29 files changed, 23 insertions(+), 440 deletions(-) delete mode 100644 wqflask/wqflask/templates/new_security/verified.html delete mode 100644 wqflask/wqflask/templates/security/_macros.html delete mode 100644 wqflask/wqflask/templates/security/_menu.html delete mode 100644 wqflask/wqflask/templates/security/_messages.html delete mode 100644 wqflask/wqflask/templates/security/_scripts.html delete mode 100644 wqflask/wqflask/templates/security/change_password.html delete mode 100644 wqflask/wqflask/templates/security/email/change_notice.html delete mode 100644 wqflask/wqflask/templates/security/email/change_notice.txt delete mode 100644 wqflask/wqflask/templates/security/email/confirmation_instructions.html delete mode 100644 wqflask/wqflask/templates/security/email/confirmation_instructions.txt delete mode 100644 wqflask/wqflask/templates/security/email/login_instructions.html delete mode 100644 wqflask/wqflask/templates/security/email/login_instructions.txt delete mode 100644 wqflask/wqflask/templates/security/email/reset_instructions.html delete mode 100644 wqflask/wqflask/templates/security/email/reset_instructions.txt delete mode 100644 wqflask/wqflask/templates/security/email/reset_notice.html delete mode 100644 wqflask/wqflask/templates/security/email/reset_notice.txt delete mode 100644 wqflask/wqflask/templates/security/email/welcome.html delete mode 100644 wqflask/wqflask/templates/security/email/welcome.txt delete mode 100644 wqflask/wqflask/templates/security/forgot_password.html delete mode 100644 wqflask/wqflask/templates/security/login_user.html delete mode 100644 wqflask/wqflask/templates/security/register_user.html delete mode 100644 wqflask/wqflask/templates/security/reset_password.html delete mode 100644 wqflask/wqflask/templates/security/send_confirmation.html delete mode 100644 wqflask/wqflask/templates/security/send_login.html delete mode 100644 wqflask/wqflask/templates/security/thank_you.html diff --git a/wqflask/wqflask/templates/new_security/forgot_password_step2.html b/wqflask/wqflask/templates/new_security/forgot_password_step2.html index 1295e589..888dcad4 100644 --- a/wqflask/wqflask/templates/new_security/forgot_password_step2.html +++ b/wqflask/wqflask/templates/new_security/forgot_password_step2.html @@ -1,14 +1,9 @@ {% extends "base.html" %} {% block title %}Register{% endblock %} {% block content %} -
-
-

Password Reset

-

- Check your email. -

-
-
+ + {{ header("Password Reset", "Check your email.") }} +