mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 03:25:15 +02:00
set autocomplete=false to prevent browser prefilling passwd change, set return_url on all contact forms
This commit is contained in:
parent
d6312abfc1
commit
0abaa6724d
2 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue