- Timestamp:
- 2016-01-04T23:40:53+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/auth/DefaultAuthenticator.java
r8846 r9313 6 6 import java.util.EnumMap; 7 7 import java.util.Map; 8 import java.util.Objects; 8 9 9 10 import org.openstreetmap.josm.Main; … … 47 48 return null; 48 49 try { 49 if (getRequestorType().equals(Authenticator.RequestorType.SERVER) && OsmApi.isUsingOAuth()) { 50 if (OsmApi.isUsingOAuth() 51 && Objects.equals(OsmApi.getOsmApi().getHost(), getRequestingHost()) 52 && RequestorType.SERVER.equals(getRequestorType())) { 50 53 // if we are working with OAuth we don't prompt for a password 51 54 return null;
Note:
See TracChangeset
for help on using the changeset viewer.