Skip to content

Commit e11985c

Browse files
authored
Update Aeon-ArchivesSpace.lua
1 parent 64604aa commit e11985c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Aeon-ArchivesSpace-Addon/Aeon-ArchivesSpace.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ function ExtractCreatorName(creatorRecord)
660660
end
661661

662662
function GetAuthenticationToken()
663-
local authenticationToken = JsonParser:ParseJSON(SendApiRequest('/users/' .. settings.Username .. '/login', 'POST', "password="..settings.Password ));
663+
local authenticationToken = JsonParser:ParseJSON(SendApiRequest('/users/' .. settings.Username .. '/login', 'POST', "password="..AtlasHelpers.UrlEncode(settings.Password)));
664664

665665
if (authenticationToken == nil or authenticationToken == JsonParser.NIL) then
666666
ReportError("Unable to get valid authentication token.");

0 commit comments

Comments
 (0)