[interchange] Prevent spider access to pw_reset page
Josh Lavin
interchange-cvs at icdevgroup.org
Mon Jan 16 21:31:04 UTC 2017
commit af0a35d45469028ff2dc826baf9d9a64759f8abe
Author: Josh Lavin <digory at cpan.org>
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 -->
More information about the interchange-cvs
mailing list