Skip to content

Commit

Permalink
Merge pull request #6 from wuestenmagier/feature/bk-neos5.1
Browse files Browse the repository at this point in the history
!!![TASK] Compatibility with Flow 6.0
  • Loading branch information
johannessteu authored Feb 24, 2020
2 parents e9aa38c + 926baa7 commit 313e1b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Yeebase\TwoFactorAuthentication\Security\RequestPattern;

use Neos\Flow\Mvc\ActionRequest;
use Neos\Flow\Mvc\RequestInterface;
use Neos\Flow\Security\RequestPatternInterface;
use Neos\Flow\Annotations as Flow;

Expand All @@ -19,7 +18,7 @@ final class ExcludeTwoFactorAuthenticationSetup implements RequestPatternInterfa
*/
protected $setupRoute;

public function matchRequest(RequestInterface $request): bool
public function matchRequest(ActionRequest $request): bool
{
if (!$request instanceof ActionRequest) {
return true;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Two-Factor-Authentication (2FA) for Neos Flow",
"license": "MIT",
"require": {
"neos/flow": "^5.3",
"neos/flow": "^6.0",
"pragmarx/google2fa": "^4.0",
"bacon/bacon-qr-code": "^2.0"
},
Expand Down

0 comments on commit 313e1b1

Please sign in to comment.