Skip to content
Snippets Groups Projects
Unverified Commit 7a85d9bf authored by Pavel Břoušek's avatar Pavel Břoušek Committed by GitHub
Browse files

fix: typo

parent 6a8d76d3
No related branches found
No related tags found
1 merge request!44fix: prevent empty mfaTokens
...@@ -164,7 +164,7 @@ class GetMfaTokensPrivacyIDEA extends \SimpleSAML\Auth\ProcessingFilter ...@@ -164,7 +164,7 @@ class GetMfaTokensPrivacyIDEA extends \SimpleSAML\Auth\ProcessingFilter
private function saveTokensToStateAttributes(&$state, $tokens) private function saveTokensToStateAttributes(&$state, $tokens)
{ {
$types = [] $types = [];
foreach ($tokens as $token) { foreach ($tokens as $token) {
foreach ($this->tokens_type as $type) { foreach ($this->tokens_type as $type) {
if ($token['tokentype'] === strtolower($type)) { if ($token['tokentype'] === strtolower($type)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment