@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | break; |
| 99 | 99 | case 'listIdentityProviders': |
| 100 | 100 | if ($federation === FALSE) { |
| 101 | - $federation = $id ? $validator->existingFederation($id)->tld : FALSE; |
|
| 101 | + $federation = $id ? $validator->existingFederation($id)->tld : FALSE; |
|
| 102 | 102 | } |
| 103 | 103 | if ($federation === FALSE) { // federation is a mandatory parameter! |
| 104 | 104 | exit; |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | break; |
| 111 | 111 | case 'listProfiles': // needs $idp set - abort if not |
| 112 | 112 | if ($idp === FALSE) { |
| 113 | - $idp = $id ? $validator->existingIdP($id)->identifier : FALSE; |
|
| 113 | + $idp = $id ? $validator->existingIdP($id)->identifier : FALSE; |
|
| 114 | 114 | } |
| 115 | 115 | if ($idp === FALSE) { |
| 116 | 116 | exit; |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | break; |
| 120 | 120 | case 'listDevices': |
| 121 | 121 | if ($profile === FALSE) { |
| 122 | - $profile = $id ? $validator->existingProfile($id)->identifier : FALSE; |
|
| 122 | + $profile = $id ? $validator->existingProfile($id)->identifier : FALSE; |
|
| 123 | 123 | } |
| 124 | 124 | if ($profile === FALSE) { |
| 125 | 125 | exit; |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | break; |
| 147 | 147 | case 'profileAttributes': // needs $profile set |
| 148 | 148 | if ($profile === FALSE) { |
| 149 | - $profile = $id ? $validator->existingProfile($id)->identifier : FALSE; |
|
| 149 | + $profile = $id ? $validator->existingProfile($id)->identifier : FALSE; |
|
| 150 | 150 | } |
| 151 | 151 | if ($profile === FALSE) { |
| 152 | 152 | exit; |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | break; |
| 156 | 156 | case 'sendLogo': // needs $idp and $disco set |
| 157 | 157 | if ($idp === FALSE) { |
| 158 | - $idp = $id ? $validator->existingIdP($id)->identifier : FALSE; |
|
| 158 | + $idp = $id ? $validator->existingIdP($id)->identifier : FALSE; |
|
| 159 | 159 | } |
| 160 | 160 | if ($idp === FALSE) { |
| 161 | 161 | exit; |