1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 11:42:23 -05:00

remove username duplicate check, as formLogin now resets values before POST

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@816 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-11-02 23:15:12 +00:00
parent 70039c8cb0
commit 46db035ddd

View File

@ -361,9 +361,7 @@ public class ExchangeSession {
String type = ((TagNode) input).getAttributeByName("type");
String name = ((TagNode) input).getAttributeByName("name");
String value = ((TagNode) input).getAttributeByName("value");
if ("hidden".equalsIgnoreCase(type) && name != null && value != null
// found a server with a username hidden field
&& !"username".equals(name)) {
if ("hidden".equalsIgnoreCase(type) && name != null && value != null) {
logonMethod.addParameter(name, value);
}
// custom login form