Skip to content

Commit

Permalink
CasUser::getPassword() cannot throw an exception or else the login pr…
Browse files Browse the repository at this point in the history
…ocess fails.
  • Loading branch information
drupol committed Nov 28, 2019
1 parent 7bc3e7d commit 153a01a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions spec/drupol/CasBundle/Security/Core/User/CasUserSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ public function it_can_get_the_proxy_granting_ticket()
->shouldReturn('proxyGrantingTicket');
}

public function it_does_not_allow_to_get_password()
{
$this
->shouldThrow(LogicException::class)
->during('getPassword');
}

public function it_does_not_allow_to_get_salt()
{
$this
Expand Down
1 change: 0 additions & 1 deletion src/Security/Core/User/CasUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public function getAttributes(): array
*/
public function getPassword()
{
throw new LogicException('Not implemented.');
}

/**
Expand Down

0 comments on commit 153a01a

Please sign in to comment.