Commit 70c138e4 authored by Ted Trask's avatar Ted Trask

Change the search string for logon failure

parent 89675a84
......@@ -616,8 +616,8 @@ local connecttosource = function(source, cookiesfile)
local resultpage, errtxt = modelfunctions.run_executable({"wget", "-O", "-", "--no-check-certificate", "--save-cookies", cookiesfile, "--keep-session-cookies", "--post-file", cookiesfile, source.method.."://"..source.source.."/cgi-bin/acf/acf-util/logon/logon"})
if resultpage == "" then
logme("Failed to connect to "..source.sourcename)
elseif string.find(resultpage, "Log in") then
logme("Failed to log in to "..source.sourcename)
elseif string.find(resultpage, "/acf-util/logon/logon") then
logme("Failed to log on to "..source.sourcename)
else
success = true
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment