Ignore:
Timestamp:
2011-07-25T00:48:51+02:00 (13 years ago)
Author:
bastiK
Message:

do not save username in preference file unconditionally - let the credentials manager handle it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/server/BasicAuthenticationPreferencesPanel.java

    r4249 r4263  
    119119            );
    120120            cm.store(RequestorType.SERVER, pa);
    121             // always save the username to the preferences if it isn't already saved there
    122             // by the credential manager
    123             if (! (cm instanceof JosmPreferencesCredentialAgent)) {
    124                 Main.pref.put("osm-server.username", tfOsmUserName.getText().trim());
    125             }
    126121        } catch(CredentialsAgentException e) {
    127122            e.printStackTrace();
Note: See TracChangeset for help on using the changeset viewer.