diff --git a/htdocs/api/admin/index.php b/htdocs/api/admin/index.php index d7f002d02aa917ea61dd1d73c78e84b757f0e7f2..c22a12fee618c0ed55e72a78342650d4b2b09579 100644 --- a/htdocs/api/admin/index.php +++ b/htdocs/api/admin/index.php @@ -111,7 +111,7 @@ $urlwithroot=$urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain // Show message $message=''; -$url='<a href="'.$urlwithroot.'/api/index.php/login?login='.urlencode($user->login).'&password=yourpassword" target="_blank">'.$urlwithroot.'/api/index.php/login?login='.urlencode($user->login).'&password=yourpassword[&reset=1]</a>'; +$url=$urlwithroot.'/api/index.php/login?login=<strong>auserlogin</strong>&userpassword=<strong>thepassword</strong>[&reset=1]'; $message.=$langs->trans("UrlToGetKeyToUseAPIs").':<br>'; $message.=img_picto('','object_globe.png').' '.$url; print $message;