Replace old enterprise Wi-Fi profiles and reprompt on failure
This commit is contained in:
1 parent
ba4fefe66d
commit
6a3608e7bc
2 files changed
+10
-5
No files matched your search
@@ -773,8 +773,8 @@ Panel {
|
||||
return Model.networkFailureReason(reason, needsCredentials, connectionFailReasons, isEnterprise)
|
||||
}
|
||||
|
||||
function shouldRepromptPassphrase(reason, needsCredentials) {
|
||||
return Model.shouldRepromptPassphrase(reason, needsCredentials, connectionFailReasons)
|
||||
function shouldRepromptPassphrase(reason, needsCredentials, isEnterprise) {
|
||||
return Model.shouldRepromptPassphrase(reason, needsCredentials, connectionFailReasons, isEnterprise)
|
||||
}
|
||||
|
||||
function checkActionCompletion(network) {
|
||||
@@ -1672,7 +1672,7 @@ Panel {
|
||||
var panel = root
|
||||
var ssid = row.net.ssid || ""
|
||||
var ours = panel.actionKind === "connect" && panel.actionSsid === ssid
|
||||
var reprompt = ours && panel.shouldRepromptPassphrase(reason, row.requiresCredentials)
|
||||
var reprompt = ours && panel.shouldRepromptPassphrase(reason, row.requiresCredentials, row.isEnterprise)
|
||||
panel.failNetworkAction(panel.networkForSsid(ssid), reason)
|
||||
if (reprompt) panel.openPasswordPrompt(ssid)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user