Changeset 2763 in josm for trunk/src


Ignore:
Timestamp:
2010-01-07T22:15:44+01:00 (15 years ago)
Author:
Gubaer
Message:

fixed #4311: OAuth: Test access token doesn't work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/oauth/TestAccessTokenTask.java

    r2746 r2763  
    100100        boolean authenticatorEnabled = true;
    101101        try {
    102             URL url = new URL(normalizeApiUrl(apiUrl) + "/user/details");
     102            URL url = new URL(normalizeApiUrl(apiUrl) + "/0.6/user/details");
    103103            authenticatorEnabled = DefaultAuthenticator.getInstance().isEnabled();
    104104            DefaultAuthenticator.getInstance().setEnabled(false);
     
    165165                        + "with the Access Token ''{0}''.<br>"
    166166                        + "The server rejected the Access Token as unauthorised. You will not<br>"
    167                         + "able to access any protected resource on this server using this token."
     167                        + "be able to access any protected resource on this server using this token."
    168168                        +"</html>",
    169169                        apiUrl,
Note: See TracChangeset for help on using the changeset viewer.