Bug 1028044 - Use auth instead of autheap in phase2 settings. r=vchang

This commit is contained in:
Chuck Lee 2014-06-24 17:41:38 +08:00
parent 560e49f1af
commit 5da8c247c6

View File

@ -1957,10 +1957,10 @@ function WifiWorker() {
net.phase1 = quote(net.phase1);
if (hasValidProperty("phase2")) {
if (net.eap === "PEAP") {
net.phase2 = quote("auth=" + net.phase2);
} else { // TLS, TTLS
if (net.phase2 === "TLS") {
net.phase2 = quote("autheap=" + net.phase2);
} else { // PAP, MSCHAPV2, etc.
net.phase2 = quote("auth=" + net.phase2);
}
}