Changeset 18655 in josm for trunk


Ignore:
Timestamp:
2023-02-09T15:25:37+01:00 (15 months ago)
Author:
taylor.smock
Message:

See #20768: OpenStreetMap OAuth2 support

This fixes an issue where the user would be prompted to log in after
removing the OAuth token since the message notifier thread was not stopped.

File:
1 edited

Legend:

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

    r18654 r18655  
    316316            if (OsmApi.isUsingOAuthAndOAuthSetUp(OsmApi.getOsmApi())) {
    317317                getInstance().initFromOAuth();
     318            } else if (OsmApi.isUsingOAuth()) {
     319                setAnonymous();
    318320            }
    319321        }
Note: See TracChangeset for help on using the changeset viewer.