[interchange] Prevent spider access to pw_reset page

Josh Lavin <[email protected]> Mon, 16 Jan 2017 21:31:04 +0000
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit af0a35d45469028ff2dc826baf9d9a64759f8abe
Author: Josh Lavin <[email protected]>
Date:   Mon Jan 16 13:30:48 2017 -0800

    Prevent spider access to pw_reset page

 dist/strap/pages/query/pw_reset.html |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/dist/strap/pages/query/pw_reset.html b/dist/strap/pages/query/pw_reset.html
index e3ea997..4b82b0f 100644
--- a/dist/strap/pages/query/pw_reset.html
+++ b/dist/strap/pages/query/pw_reset.html
@@ -1,6 +1,11 @@
 [tmp page_title]Password Reset[/tmp]
 [tmpn display_class]noleft[/tmpn]
 
+[if session spider]
+    [tag op=header]Status: 403 Forbidden to Spiders[/tag]
+    [goto]
+[/if]
+
 @_TOP_@
 <!-- BEGIN CONTENT -->