Add missing return argument when removing an auth backend fails
This commit is contained in:
parent
903b02a134
commit
bd5d6e9661
|
@ -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