Commit 4859621d authored by Robert Lyon's avatar Robert Lyon Committed by Aaron Wells

Bug 1570640: Ignore plugins with bad auth config

When looping through all auth to see if a user can login

behatnotneeded

Change-Id: I51693fac3c650ff529ccfc98586c50f4d185f591
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 4993ce1c)
parent 90242956
......@@ -1512,7 +1512,12 @@ function login_submit(Pieform $form, $values) {
else {
continue;
}
} catch (AuthInstanceException $e) {
}
catch (AuthInstanceException $e) {
continue;
}
catch (UninitialisedAuthException $ue) {
log_info('Malformed auth instance "' . $auth->instancename . '" for institution "' . $auth->institution . '"');
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment