mirror of
https://github.com/moparisthebest/davmail
synced 2025-03-05 11:49:46 -05:00
Fix 2887947: Exchange server with a username hidden field
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@796 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
14d22a8ef4
commit
73bc2636a9
@ -359,7 +359,9 @@ public class ExchangeSession {
|
|||||||
String type = ((TagNode) input).getAttributeByName("type");
|
String type = ((TagNode) input).getAttributeByName("type");
|
||||||
String name = ((TagNode) input).getAttributeByName("name");
|
String name = ((TagNode) input).getAttributeByName("name");
|
||||||
String value = ((TagNode) input).getAttributeByName("value");
|
String value = ((TagNode) input).getAttributeByName("value");
|
||||||
if ("hidden".equalsIgnoreCase(type) && name != null && value != null) {
|
if ("hidden".equalsIgnoreCase(type) && name != null && value != null
|
||||||
|
// found a server with a username hidden field
|
||||||
|
&& !"username".equals(name)) {
|
||||||
logonMethod.addParameter(name, value);
|
logonMethod.addParameter(name, value);
|
||||||
}
|
}
|
||||||
// custom login form
|
// custom login form
|
||||||
|
Loading…
x
Reference in New Issue
Block a user