diff options
author | Friendika <info@friendika.com> | 2010-11-10 17:30:14 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-10 17:30:14 -0800 |
commit | 0abaa6724d6b2e7e3f5a3f8d81026cee9def0b10 (patch) | |
tree | 5c363d2b6b51aa48927ccfe6cb8c9d27a7659d95 /mod | |
parent | d6312abfc111a9d726bbd985f30bda5a23175fe5 (diff) | |
download | volse-hubzilla-0abaa6724d6b2e7e3f5a3f8d81026cee9def0b10.tar.gz volse-hubzilla-0abaa6724d6b2e7e3f5a3f8d81026cee9def0b10.tar.bz2 volse-hubzilla-0abaa6724d6b2e7e3f5a3f8d81026cee9def0b10.zip |
set autocomplete=false to prevent browser prefilling passwd change, set return_url on all contact forms
Diffstat (limited to 'mod')
-rw-r--r-- | mod/contacts.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/contacts.php b/mod/contacts.php index 02c75c775..f0e677ba5 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -90,6 +90,7 @@ function contacts_content(&$a) { $o = ''; $o .= '<script> $(document).ready(function() { $(\'#nav-contacts-link\').addClass(\'nav-selected\'); });</script>'; + $_SESSION['return_url'] = $a->get_baseurl() . '/' . $a->cmd; if(! local_user()) { notice( t('Permission denied.') . EOL); @@ -164,7 +165,6 @@ function contacts_content(&$a) { return; } - $_SESSION['return_url'] = $a->get_baseurl() . '/' . $a->cmd; require_once('view/contact_selectors.php'); |