Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit c6ea1c3d authored by Bogdan BOCIOACA's avatar Bogdan BOCIOACA Committed by Pol Dellaiera
Browse files

chore: update compatibility with Laravel 11

parent 512b01fe
No related branches found
No related tags found
1 merge request!7updated auth provider for laravel 11
......@@ -22,6 +22,8 @@ final class EcasUserProvider implements UserProvider
private CasUserProvider $casUserProvider
) {}
public function rehashPasswordIfRequired(Authenticatable $user, array $credentials, bool $force = false) {}
public function retrieveByCredentials(array $credentials): ?Authenticatable
{
$maybeUser = $this->casUserProvider->retrieveByCredentials($credentials);
......
......@@ -55,6 +55,8 @@ final class EcasUser implements Authenticatable
return null;
}
public function getAuthPasswordName() {}
public function getGroups(): array
{
$attributes = $this->getAttributes();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment