Commit 1d4a00fc authored by whitlocb's avatar whitlocb

TACC 2-factor authentication. Stop useless 1st password window.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@30895 18c085ea-50e0-402c-830e-de6fd14e8384
parent e735b61b
......@@ -210,6 +210,11 @@ ViewerPasswordWindow::authenticate(const char *username, const char* password, c
result += write(fd, "yes\n", 4);
pbuf = buffer;
}
else if(strstr(buffer, "please enter your TACC password") &&
!strstr(buffer, "Password:"))
{
// Skip this message. We'll get a "Password:" prompt soon.
}
else if (strstr(buffer, "assword") || strstr(buffer, "ASSWORD") ||
strstr(buffer, "asscode") || strstr(buffer, "ASSCODE") ||
strstr(buffer, "assphrase") || strstr(buffer, "ASSPHRASE") ||
......
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