Skip to content

Commit

Permalink
Return original if not a known alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Daynnnnn committed Jul 30, 2021
1 parent 92697cd commit f1fb900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ForwardAuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ protected function lookupType($type) {
'ldap' => AuthServices\LdapAuthService::class,
];

return $types[$type];
return $types[$type] ?? $type;
}
}

0 comments on commit f1fb900

Please sign in to comment.