mirror of https://github.com/MISP/MISP
fix: If the custom auth is not required, throw the user to the usual login if the custom auth login failed
parent
0695efe81b
commit
ef9afedcf2
|
@ -643,7 +643,9 @@ class AppController extends Controller {
|
|||
'change' => null,
|
||||
);
|
||||
$this->Log->save($log);
|
||||
$this->__preAuthException($authName . ' authentication failed. Contact your MISP support for additional information at: ' . Configure::read('MISP.contact'));
|
||||
if (Configure::read('CustomAuth_required')) {
|
||||
$this->__preAuthException($authName . ' authentication failed. Contact your MISP support for additional information at: ' . Configure::read('MISP.contact'));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue