Skip to content
Snippets Groups Projects
Commit 8aab2f73 authored by Jochen Lienhard's avatar Jochen Lienhard Committed by Demian Katz
Browse files

Do not log passwords.

parent 8a7559ae
Branches
Tags
No related merge requests found
......@@ -438,7 +438,7 @@ class Backend extends AbstractBackend
if (!empty($username) && !empty($password)) {
$this->debugPrint(
'Calling Authenticate with username: '
. "$username, password: $password, orgid: $orgId "
. "$username, password: XXXXXXXX, orgid: $orgId "
);
$results = $this->client->authenticate($username, $password, $orgId);
$token = $results['AuthToken'];
......
......@@ -222,7 +222,7 @@ abstract class Base
public function authenticate($username = null, $password = null, $orgid = null)
{
$this->debugPrint(
"Authenticating: username: $username, password: $password, orgid: $orgid"
"Authenticating: username: $username, password: XXXXXXX, orgid: $orgid"
);
$url = $this->authHost . '/uidauth';
$org = $orgid ?? $this->orgId;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment