Debug: log token/password

pull/209/head
M66B 2 years ago
parent 17f401340d
commit 69ac5821d5

@ -82,7 +82,9 @@ public class ServiceAuthenticator extends Authenticator {
Log.e(ex);
}
Log.i(user + " returning " + (auth == AUTH_TYPE_PASSWORD ? "password" : "token"));
Log.i(user + " returning " +
(auth == AUTH_TYPE_PASSWORD ? "password" : "token") +
(BuildConfig.DEBUG ? "=" + token : ""));
return new PasswordAuthentication(user, token);
}

Loading…
Cancel
Save