When inner method admits its authentication (credentials) failed, failed authentication flag for outer method is cleared
This commit is contained in:
parent
b255aa6505
commit
b7ed9d076f
@ -129,6 +129,12 @@ void eap::method_ttls::get_result(
|
||||
m_inner->get_result(reason, &result);
|
||||
if (result.fSaveConnectionData)
|
||||
ppResult->fSaveConnectionData = TRUE;
|
||||
|
||||
if (m_inner->m_cfg.m_auth_failed) {
|
||||
// Inner method admitted its credentials failed, so autentication must have proceeded to inner authentication already.
|
||||
// Therefore, outer credentials must have been OK.
|
||||
m_cfg.m_auth_failed = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user