Skip to content

Commit

Permalink
Set empty login when creating new publish connection
Browse files Browse the repository at this point in the history
  • Loading branch information
rcloran committed Nov 1, 2023
1 parent 87c72c0 commit 00d7035
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lr-inaturalist-publish.lrdevplugin/ExportServiceProvider.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ local exportServiceProvider = {

-- called when the user picks this service in the publish dialog
function exportServiceProvider.startDialog(propertyTable)
if not propertyTable.LR_editingExistingPublishConnection then
-- Start with empty login for new connections
propertyTable.login = ""
end
propertyTable:addObserver("login", function()
Login.verifyLogin(propertyTable)
end)
Expand Down

0 comments on commit 00d7035

Please sign in to comment.