Changeset 5469 in josm
- Timestamp:
- 2012-08-21T22:19:06+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/JosmUserIdentityManager.java
r5439 r5469 12 12 import org.openstreetmap.josm.data.Preferences.StringSetting; 13 13 import org.openstreetmap.josm.data.osm.UserInfo; 14 import org.openstreetmap.josm.gui.preferences.server.OAuthAccessTokenHolder; 14 15 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 15 16 import org.openstreetmap.josm.io.OsmServerUserInfoReader; … … 59 60 if (instance == null) { 60 61 instance = new JosmUserIdentityManager(); 61 if (Main.pref.get("osm-server.auth-method").equals("oauth") ) {62 if (Main.pref.get("osm-server.auth-method").equals("oauth") && OAuthAccessTokenHolder.getInstance().containsAccessToken()) { 62 63 try { 63 64 instance.initFromOAuth(Main.parent);
Note:
See TracChangeset
for help on using the changeset viewer.