Skip to content

Commit 73d48ee

Browse files
committed
fixed the issue in JWTLoginMethod
1 parent f872f3b commit 73d48ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/JWTLoginMethod.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static function jwtAuthenticationMethod(string $apiType, TestConfig $test
3535
$scopes = "signature user_write group_read organization_read permission_read user_read "
3636
. "account_read domain_read identity_provider_read user_data_redact"
3737
. "asset_group_account_read asset_group_account_clone_write asset_group_account_clone_read";
38-
} elseif ($_SESSION['api_type'] == ApiTypes::WEBFORMS) {
38+
} elseif ($apiType == ApiTypes::WEBFORMS) {
3939
$scopes = "signature webforms_read webforms_instance_read webforms_instance_write";
4040
} else {
4141
$scopes = "signature";

0 commit comments

Comments
 (0)