From 6e11352ff7b7472dca6ee5f460e575d287945ace Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 19 Sep 2015 17:51:16 -0600 Subject: [PATCH] Another case where autocomplete creates a problem. New user account creation does not benefit from autocomplete. It assumes the user is the currently logged in user which is not what you want on a form to add new users. This code adds an autocomplete honey pot to defeat the browser developers poor assumption. --- core/users/signup.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/users/signup.php b/core/users/signup.php index 458dac1b8e..c15e757fc0 100644 --- a/core/users/signup.php +++ b/core/users/signup.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2012 + Portions created by the Initial Developer are Copyright (C) 2008-2015 the Initial Developer. All Rights Reserved. Contributor(s): @@ -298,16 +298,16 @@ if (count($_POST) > 0 && check_str($_POST["persistform"]) != "1") { echo ""; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " ";
".$text['label-username']."
".$text['label-password']."
".$text['label-confirm_password']."
".$text['label-email']."