diff --git a/src/ForwardAuthServiceProvider.php b/src/ForwardAuthServiceProvider.php index 6924f63..4f437f1 100644 --- a/src/ForwardAuthServiceProvider.php +++ b/src/ForwardAuthServiceProvider.php @@ -22,6 +22,6 @@ protected function lookupType($type) { 'ldap' => AuthServices\LdapAuthService::class, ]; - return $types[$type]; + return $types[$type] ?? $type; } }