Changeset 18654 in josm for trunk/src


Ignore:
Timestamp:
2023-02-09T15:03:46+01:00 (22 months ago)
Author:
taylor.smock
Message:

See #20768: OpenStreetMap OAuth2 support

This fixes an issue where the user would be prompted to log in immediately after
removing the OAuth token.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/UserIdentityManager.java

    r18650 r18654  
    314314            accessTokenKeyChanged = false;
    315315            accessTokenSecretChanged = false;
    316             if (OsmApi.isUsingOAuth()) {
     316            if (OsmApi.isUsingOAuthAndOAuthSetUp(OsmApi.getOsmApi())) {
    317317                getInstance().initFromOAuth();
    318318            }
Note: See TracChangeset for help on using the changeset viewer.