Skip to content

Commit

Permalink
Add types
Browse files Browse the repository at this point in the history
  • Loading branch information
Daynnnnn committed Sep 18, 2024
1 parent 0efca7c commit 4760acf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/forward-authentication.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use LdapRecord\Connection;

return [

/*
Expand Down Expand Up @@ -57,7 +59,7 @@

'password' => env('STATAMIC_FORWARD_AUTH_BIND_PASSWORD'),

'queryCallback' => fn ($connection, $credentials) => $connection->query()->where('mail', '=', $credentials['email'])->first(),
'queryCallback' => fn (Connection $connection, array $credentials) => $connection->query()->where('mail', '=', $credentials['email'])->first(),
],

],
Expand Down

0 comments on commit 4760acf

Please sign in to comment.