Ticket #11914: 11914.2.patch

File 11914.2.patch, 1010 bytes (added by GerdP, 2 months ago)

Solution or hack?

  • src/org/openstreetmap/josm/gui/io/CredentialDialog.java

     
    2929import javax.swing.JPanel;
    3030import javax.swing.JTextField;
    3131
     32import org.openstreetmap.josm.data.UserIdentityManager;
    3233import org.openstreetmap.josm.gui.MainApplication;
    3334import org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction;
    3435import org.openstreetmap.josm.gui.help.HelpUtil;
     
    9899            response.setCanceled(dialog.isCanceled());
    99100            if (dialog.isCanceled())
    100101                return;
     102            UserIdentityManager.getInstance().setPartiallyIdentified(dialog.getUsername());
    101103            response.setUsername(dialog.getUsername());
    102104            response.setPassword(dialog.getPassword());
    103105            response.setSaveCredentials(dialog.isSaveCredentials());