Ignore:
Timestamp:
2011-06-19T17:58:16+02:00 (14 years ago)
Author:
stoecker
Message:

fix #6476 - fully automatic oauth failing due to server changes

Location:
trunk/src/org/openstreetmap/josm/gui/oauth
Files:
2 edited

Legend:

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

    r3530 r4147  
    145145        pnlMessage.setText("<html><body>"
    146146                + "<p class=\"warning-body\">"
    147                 + tr("<strong>Warning:</strong> The password is transferred <strong>once</strong> in clear text "
    148                         + "to the OSM website. <strong>Do not</strong> use a sensitive "
    149                         + "password until the OSM server provides an encrypted communication channel (HTTPS).")
    150                         + "</p>"
    151                         + "</body></html>");
     147                + tr("<strong>Warning:</strong> JOSM does login <strong>once</strong> using a secure connection.")
     148                + "</p>"
     149                + "</body></html>");
    152150        pnl.add(pnlMessage, gc);
    153151
  • trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java

    r3748 r4147  
    320320
    321321            Map<String,String> parameters = new HashMap<String, String>();
    322             parameters.put("user[email]", userName);
    323             parameters.put("user[password]", password);
     322            parameters.put("username", userName);
     323            parameters.put("password", password);
    324324            parameters.put("referer", "/");
    325325            parameters.put("commit", "Login");
Note: See TracChangeset for help on using the changeset viewer.