Ignore:
Timestamp:
2011-12-21T23:12:59+01:00 (13 years ago)
Author:
stoecker
Message:

see #7086 - fix passing auth information to wrong server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/auth/DefaultAuthenticator.java

    r4249 r4690  
    4949            }
    5050            boolean tried = credentialsTried.get(getRequestorType()) != null;
    51             CredentialsAgentResponse response = CredentialsManager.getInstance().getCredentials(getRequestorType(), tried);
     51            CredentialsAgentResponse response = CredentialsManager.getInstance().getCredentials(getRequestorType(), getRequestingHost(), tried);
    5252            if (response == null || response.isCanceled())
    5353                return null;
Note: See TracChangeset for help on using the changeset viewer.