Add missing return argument when removing an auth backend fails
This commit is contained in:
parent
5aa9738b55
commit
d8097d4a16
|
@ -271,7 +271,7 @@ class ConfigController extends Controller
|
|||
$configForm->remove($authBackend);
|
||||
} catch (InvalidArgumentException $e) {
|
||||
Notification::error($e->getMessage());
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($configForm->save()) {
|
||||
|
|
Loading…
Reference in New Issue