Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Correctly check the roles in the TokenChecker (see #1082)
Description ----------- This fixes the issue that protected elements will be shown direct after successful login but required and not yet fullfilled 2FA authentication. **To-Do:** - [x] Adjust tests Commits ------- 4cbef67 Check if token is instance of TwoFactorTokenInterface a181726 Test method if token is a TwoFactorToken 2617628 Check roles instead of token 549220c Use the RoleVoter service ef01e25 Fix test 2fe8a6e Use interface instead of explicit class b70c2ba Check properly against VoterInterface 498cbe1 Merge branch '4.8' into bugfix/2fa-token-checker cf1ab57 Rename method
- Loading branch information
Showing
4 changed files
with
71 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters